Przeglądaj źródła

fix: fix AutomaticDisableChannelEnabled option not ignored (close #217)

JustSong 2 lat temu
rodzic
commit
bddbf57104
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 3
      web/src/components/OperationSetting.js

+ 0 - 3
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);
         }