Procházet zdrojové kódy

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

JustSong před 2 roky
rodič
revize
bddbf57104
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  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);
         }