1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-11 11:12:03 +02:00

Small tweaks to avoid confusion with enum name

This commit is contained in:
Laurent Cozic 2019-02-24 11:10:22 +00:00
parent 4ce118d459
commit ddd513fe09
2 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ class Application extends BaseApplication {
click: async () => {
this.dispatch({
type: 'WINDOW_COMMAND',
name: 'syncTarget',
name: 'synchronize',
});
}
}, {

View File

@ -219,7 +219,7 @@ class SideBarComponent extends React.Component {
if (anchorRef) anchorRef.current.focus();
}
}
} else if (command.name === 'syncTarget') {
} else if (command.name === 'synchronize') {
this.sync_click();
} else {
commandProcessed = false;