mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Cleanup shortcuts scope handling
This commit is contained in:
parent
874f2592ca
commit
60987f4623
5 changed files with 16 additions and 22 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Scope } from 'Common/Enums';
|
||||
import { getNotification, i18n } from 'Common/Translator';
|
||||
import { arrayLength } from 'Common/Utils';
|
||||
|
||||
|
|
@ -28,7 +27,7 @@ export class PluginPopupView extends AbstractViewPopup {
|
|||
hasConfiguration: () => 0 < this.config().length
|
||||
});
|
||||
|
||||
this.keyScope.scope = Scope.All;
|
||||
this.keyScope.scope = 'all';
|
||||
|
||||
decorateKoCommands(this, {
|
||||
saveCommand: self => self.hasConfiguration()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue