From bddbf57104dcb2fd3d9f8e92f6451fd086a19b94 Mon Sep 17 00:00:00 2001 From: JustSong Date: Thu, 29 Jun 2023 15:54:12 +0800 Subject: [PATCH] fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) --- web/src/components/OperationSetting.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/src/components/OperationSetting.js b/web/src/components/OperationSetting.js index 6de15f16..3cc5ba99 100644 --- a/web/src/components/OperationSetting.js +++ b/web/src/components/OperationSetting.js @@ -74,9 +74,6 @@ const OperationSetting = () => { const submitConfig = async (group) => { switch (group) { case 'monitor': - if (originInputs['AutomaticDisableChannelEnabled'] !== inputs.AutomaticDisableChannelEnabled) { - await updateOption('AutomaticDisableChannelEnabled', inputs.AutomaticDisableChannelEnabled); - } if (originInputs['ChannelDisableThreshold'] !== inputs.ChannelDisableThreshold) { await updateOption('ChannelDisableThreshold', inputs.ChannelDisableThreshold); }