Small tweaks to avoid confusion with enum name

pull/1257/head
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;