From d22983121acad0c23c9c863e08c5aba69b9cdb72 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Tue, 18 Apr 2023 01:46:29 +0700 Subject: [PATCH] fix bug --- files/vestasync.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/vestasync.js b/files/vestasync.js index 9bb0dd8..218bdc9 100644 --- a/files/vestasync.js +++ b/files/vestasync.js @@ -74,7 +74,7 @@ function _update_vestasync() { captureOutput: true, exitCallback: function (exitCode, capturedOutput) { var isEnabled = capturedOutput.trim() === "active"; - dev.vestasync.autopush_inotify = isEnabled; + getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false }) } }); @@ -82,7 +82,7 @@ function _update_vestasync() { captureOutput: true, exitCallback: function (exitCode, capturedOutput) { var isEnabled = capturedOutput.trim() === "active"; - dev.vestasync.autopush_timer = isEnabled; + getControl("vestasync/autopush_inotify").setValue({ value: isEnabled, notify: false }) } });