Merge pull request #93 from songquanpeng/main
Fork Sync: Update from parent repository
This commit is contained in:
commit
0f7dfb91ab
@ -74,9 +74,6 @@ const OperationSetting = () => {
|
|||||||
const submitConfig = async (group) => {
|
const submitConfig = async (group) => {
|
||||||
switch (group) {
|
switch (group) {
|
||||||
case 'monitor':
|
case 'monitor':
|
||||||
if (originInputs['AutomaticDisableChannelEnabled'] !== inputs.AutomaticDisableChannelEnabled) {
|
|
||||||
await updateOption('AutomaticDisableChannelEnabled', inputs.AutomaticDisableChannelEnabled);
|
|
||||||
}
|
|
||||||
if (originInputs['ChannelDisableThreshold'] !== inputs.ChannelDisableThreshold) {
|
if (originInputs['ChannelDisableThreshold'] !== inputs.ChannelDisableThreshold) {
|
||||||
await updateOption('ChannelDisableThreshold', inputs.ChannelDisableThreshold);
|
await updateOption('ChannelDisableThreshold', inputs.ChannelDisableThreshold);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user