Better Remote.saveAdminConfig() and better idleTrigger for them

This commit is contained in:
djmaze 2021-12-03 12:32:21 +01:00
parent 2588e5b328
commit 3b40f86c33
11 changed files with 76 additions and 81 deletions

View file

@ -1,10 +0,0 @@
import 'External/ko';
import ko from 'ko';
import { SaveSettingsStep } from 'Common/Enums';
// functions
ko.observable.fn.idleTrigger = function() {
this.trigger = ko.observable(SaveSettingsStep.Idle);
return this;
};