snappymail/dev/Stores/Admin/Package.js
djmaze 8c780ad353 Replace deprecated Knockout throttle with new debounce extender
Replace admin general mainAttachmentLimit with input type="number"
2021-02-10 12:12:36 +01:00

15 lines
316 B
JavaScript

import ko from 'ko';
class PackageAdminStore {
constructor() {
this.packages = ko.observableArray();
this.packages.loading = ko.observable(false).extend({ debounce: 100 });
ko.addObservablesTo(this, {
packagesReal: true,
packagesMainUpdatable: true
});
}
}
export default new PackageAdminStore();