snappymail/dev/Stores/Admin/Domain.js
RainLoop Team 17669b7be0 es5 -> es2015 (last stage)
Signature plugin fixes
Add view decorator
A large number of fixes
2016-08-20 20:30:16 +03:00

13 lines
309 B
JavaScript

import ko from 'ko';
class DomainAdminStore
{
constructor() {
this.domains = ko.observableArray([]);
this.domains.loading = ko.observable(false).extend({'throttle': 100});
this.domainsWithoutAliases = this.domains.filter((item) => item && !item.alias);
}
}
module.exports = new DomainAdminStore();