mirror of
https://github.com/langgenius/dify.git
synced 2026-01-07 23:04:12 +00:00
fix(workflow): preserve saved timezone in trigger-schedule to match backend fixed-timezone design
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user