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

This commit is contained in:
JustSong 2023-06-29 15:54:12 +08:00
parent 9a16b0f9e5
commit bddbf57104

View File

@ -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);
}