mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-15 20:24:51 +08:00
11 lines
327 B
JavaScript
11 lines
327 B
JavaScript
import ko from 'ko';
|
|
|
|
class DomainAdminStore {
|
|
constructor() {
|
|
this.domains = ko.observableArray([]);
|
|
this.domains.loading = ko.observable(false).extend({ 'throttle': 100 });
|
|
this.domainsWithoutAliases = ko.computed(() => this.domains().filter(item => item && !item.alias));
|
|
}
|
|
}
|
|
|
|
export default new DomainAdminStore();
|