Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
580de077
authored
Jun 29, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix AutomaticDisableChannelEnabled option not ignored (close #217)
parent
adc3d0e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
web/src/components/OperationSetting.js
+0
-3
No files found.
web/src/components/OperationSetting.js
View file @
580de077
...
@@ -74,9 +74,6 @@ const OperationSetting = () => {
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment