mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add more strict rules (eslint)
This commit is contained in:
parent
b43bb17cdb
commit
52e2698cdf
38 changed files with 488 additions and 434 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import {_} from 'common';
|
||||
import _ from '_';
|
||||
import ko from 'ko';
|
||||
|
||||
class IdentityUserStore
|
||||
|
|
@ -9,9 +9,7 @@ class IdentityUserStore
|
|||
this.identities = ko.observableArray([]);
|
||||
this.identities.loading = ko.observable(false).extend({throttle: 100});
|
||||
|
||||
this.identitiesIDS = ko.computed(() => {
|
||||
return _.compact(_.map(this.identities(), (item) => item ? item.id : null));
|
||||
}, this);
|
||||
this.identitiesIDS = ko.computed(() => _.compact(_.map(this.identities(), (item) => (item ? item.id : null))));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue