snappymail/dev/Stores/Admin/Plugin.js

12 lines
265 B
JavaScript
Raw Normal View History

import ko from 'ko';
2016-06-30 08:02:45 +08:00
2019-07-05 03:19:24 +08:00
class PluginAdminStore {
constructor() {
this.plugins = ko.observableArray([]);
2019-07-05 03:19:24 +08:00
this.plugins.loading = ko.observable(false).extend({ throttle: 100 });
this.plugins.error = ko.observable('');
}
2016-06-30 08:02:45 +08:00
}
export default new PluginAdminStore();