mirror of https://github.com/langgenius/dify.git
fix(workflow): preserve saved timezone in trigger-schedule to match backend fixed-timezone design
This commit is contained in:
parent
ebcf98c137
commit
62efdd7f7a
|
|
@ -15,7 +15,7 @@ const useConfig = (id: string, payload: ScheduleTriggerNodeType) => {
|
|||
...payload,
|
||||
mode: payload.mode || 'visual',
|
||||
frequency: payload.frequency || 'daily',
|
||||
timezone: userProfile.timezone || 'UTC',
|
||||
timezone: payload.timezone || userProfile.timezone || 'UTC',
|
||||
visual_config: {
|
||||
...getDefaultVisualConfig(),
|
||||
...payload.visual_config,
|
||||
|
|
|
|||
Loading…
Reference in New Issue