snappymail/dev/Stores/Admin/Plugin.js

12 lines
263 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();
this.plugins.loading = ko.observable(false).extend({ debounce: 100 });
this.plugins.error = ko.observable('');
}
2016-06-30 08:02:45 +08:00
}
export default new PluginAdminStore();