mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Fix eslint warnings
This commit is contained in:
parent
dd824179f1
commit
72ca818500
35 changed files with 510 additions and 290 deletions
|
|
@ -21,6 +21,8 @@ class AppUserStore extends AbstractAppStore
|
|||
|
||||
switch (value)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
case Focused.MessageList:
|
||||
Globals.keyScope(KeyState.MessageList);
|
||||
break;
|
||||
|
|
@ -66,7 +68,7 @@ class AppUserStore extends AbstractAppStore
|
|||
|
||||
this.devEmail = Settings.settingsGet('DevEmail');
|
||||
this.devPassword = Settings.settingsGet('DevPassword');
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = new AppUserStore();
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ class IdentityUserStore
|
|||
constructor()
|
||||
{
|
||||
this.identities = ko.observableArray([]);
|
||||
this.identities.loading = ko.observable(false).extend({'throttle': 100});
|
||||
this.identities.loading = ko.observable(false).extend({throttle: 100});
|
||||
|
||||
this.identitiesIDS = ko.computed(() => {
|
||||
return _.compact(_.map(this.identities(), (item) => item ? item.id : null));
|
||||
}, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = new IdentityUserStore();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue