snappymail/dev/Stores/Admin/Domain.js
2019-07-04 22:19:24 +03:00

11 lines
308 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);
}
}
export default new DomainAdminStore();