mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-16 04:34:42 +08:00
e5af98b04b
Move e2e tests Code refactoring
13 lines
307 B
JavaScript
13 lines
307 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();
|