snappymail/dev/Stores/Admin/Domain.js

14 lines
307 B
JavaScript
Raw Normal View History

import ko from 'ko';
class DomainAdminStore
2016-06-30 08:02:45 +08:00
{
constructor() {
this.domains = ko.observableArray([]);
this.domains.loading = ko.observable(false).extend({'throttle': 100});
this.domainsWithoutAliases = this.domains.filter((item) => item && !item.alias);
}
2016-06-30 08:02:45 +08:00
}
export default new DomainAdminStore();