mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Replace deprecated Knockout throttle with new debounce extender
Replace admin general mainAttachmentLimit with input type="number"
This commit is contained in:
parent
75b7176ada
commit
8c780ad353
18 changed files with 45 additions and 84 deletions
|
|
@ -5,9 +5,9 @@ import ko from 'ko';
|
|||
class TemplateUserStore {
|
||||
constructor() {
|
||||
this.templates = ko.observableArray();
|
||||
this.templates.loading = ko.observable(false).extend({ throttle: 100 });
|
||||
this.templates.loading = ko.observable(false).extend({ debounce: 100 });
|
||||
|
||||
this.templatesNames = ko.observableArray().extend({ throttle: 1000 });
|
||||
this.templatesNames = ko.observableArray().extend({ debounce: 1000 });
|
||||
this.templatesNames.skipFirst = true;
|
||||
|
||||
this.subscribers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue