snappymail/dev/Stores/Admin/Package.js

16 lines
316 B
JavaScript
Raw Normal View History

import ko from 'ko';
2019-07-05 03:19:24 +08:00
class PackageAdminStore {
constructor() {
this.packages = ko.observableArray();
this.packages.loading = ko.observable(false).extend({ debounce: 100 });
2020-10-27 18:09:24 +08:00
ko.addObservablesTo(this, {
packagesReal: true,
packagesMainUpdatable: true
});
}
2016-06-30 08:02:45 +08:00
}
export default new PackageAdminStore();