Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
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
Unverified
Commit
41da52d6
authored
Jul 31, 2024
by
Leo Liu Junyi
Committed by
GitHub
Jul 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Switch state inconsistency for Scheduled Trigger (#2221)
* 修复定时关闭时Switch显示不同步 * 优化写法
parent
446d9cb1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
projects/app/src/components/core/app/ScheduledTriggerConfig.tsx
+1
-1
No files found.
projects/app/src/components/core/app/ScheduledTriggerConfig.tsx
View file @
41da52d6
...
@@ -187,7 +187,7 @@ const ScheduledTriggerConfig = ({
...
@@ -187,7 +187,7 @@ const ScheduledTriggerConfig = ({
cronField
:
[
CronJobTypeEnum
.
interval
,
24
/
cronField
.
hour
.
length
,
0
]
cronField
:
[
CronJobTypeEnum
.
interval
,
24
/
cronField
.
hour
.
length
,
0
]
};
};
},
[
cronString
]);
},
[
cronString
]);
const
isOpenSchedule
=
cronConfig
?.
isOpen
;
const
isOpenSchedule
=
cronConfig
?.
isOpen
??
false
;
const
cronField
=
(
cronConfig
?.
cronField
||
defaultValue
)
as
CronFieldType
;
const
cronField
=
(
cronConfig
?.
cronField
||
defaultValue
)
as
CronFieldType
;
const
cronConfig2cronString
=
useCallback
(
const
cronConfig2cronString
=
useCallback
(
...
...
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