snappymail/dev/Stores/Admin/Plugin.js

14 lines
264 B
JavaScript
Raw Normal View History

import ko from 'ko';
2016-06-30 08:02:45 +08:00
class PluginAdminStore
2016-06-30 08:02:45 +08:00
{
constructor() {
this.plugins = ko.observableArray([]);
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();