mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
25 lines
399 B
JavaScript
25 lines
399 B
JavaScript
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
ko = require('ko')
|
|
;
|
|
|
|
/**
|
|
* @constructor
|
|
*/
|
|
function DomainAdminStore()
|
|
{
|
|
this.domains = ko.observableArray([]);
|
|
this.domains.loading = ko.observable(false).extend({'throttle': 100});
|
|
|
|
this.domainsWithoutAliases = this.domains.filter(function (oItem) {
|
|
return oItem && !oItem.alias;
|
|
});
|
|
}
|
|
|
|
module.exports = new DomainAdminStore();
|
|
|
|
}());
|