snappymail/dev/Stores/Admin/Plugin.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

11 lines
263 B
JavaScript

import ko from 'ko';
class PluginAdminStore {
constructor() {
this.plugins = ko.observableArray();
this.plugins.loading = ko.observable(false).extend({ debounce: 100 });
this.plugins.error = ko.observable('');
}
}
export default new PluginAdminStore();