mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
js -> jsx
This commit is contained in:
parent
3bcf23f8fa
commit
08ccf55577
43 changed files with 2342 additions and 2347 deletions
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
import ko from 'ko';
|
||||
import {Focused, KeyState} from 'Common/Enums';
|
||||
import Globals from 'Common/Globals';
|
||||
import Utils from 'Common/Utils';
|
||||
import {keyScope} from 'Common/Globals';
|
||||
import Settings from 'Storage/Settings';
|
||||
import {isNonEmptyArray} from 'Common/Utils';
|
||||
|
||||
import {AbstractAppStore} from 'Stores/AbstractApp';
|
||||
|
||||
|
|
@ -24,13 +24,13 @@ class AppUserStore extends AbstractAppStore
|
|||
default:
|
||||
break;
|
||||
case Focused.MessageList:
|
||||
Globals.keyScope(KeyState.MessageList);
|
||||
keyScope(KeyState.MessageList);
|
||||
break;
|
||||
case Focused.MessageView:
|
||||
Globals.keyScope(KeyState.MessageView);
|
||||
keyScope(KeyState.MessageView);
|
||||
break;
|
||||
case Focused.FolderList:
|
||||
Globals.keyScope(KeyState.FolderList);
|
||||
keyScope(KeyState.FolderList);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ class AppUserStore extends AbstractAppStore
|
|||
this.contactsIsAllowed(!!Settings.settingsGet('ContactsIsAllowed'));
|
||||
|
||||
const attachmentsActions = Settings.appSettingsGet('attachmentsActions');
|
||||
this.attachmentsActions(Utils.isNonEmptyArray(attachmentsActions) ? attachmentsActions : []);
|
||||
this.attachmentsActions(isNonEmptyArray(attachmentsActions) ? attachmentsActions : []);
|
||||
|
||||
this.devEmail = Settings.settingsGet('DevEmail');
|
||||
this.devPassword = Settings.settingsGet('DevPassword');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue