mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Added individual signatures for every identity.
This commit is contained in:
parent
996703311b
commit
1119022916
45 changed files with 1353 additions and 337 deletions
|
|
@ -4,6 +4,7 @@
|
|||
'use strict';
|
||||
|
||||
var
|
||||
_ = require('_'),
|
||||
ko = require('ko')
|
||||
;
|
||||
|
||||
|
|
@ -14,6 +15,12 @@
|
|||
{
|
||||
this.identities = ko.observableArray([]);
|
||||
this.identities.loading = ko.observable(false).extend({'throttle': 100});
|
||||
|
||||
this.identitiesIDS = ko.computed(function () {
|
||||
return _.compact(_.map(this.identities(), function (oItem) {
|
||||
return oItem ? oItem.id : null;
|
||||
}));
|
||||
}, this);
|
||||
}
|
||||
|
||||
module.exports = new IdentityUserStore();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue