fix(workflow): preserve saved timezone in trigger-schedule to match backend fixed-timezone design

This commit is contained in:
lyzno1 2025-10-13 17:03:15 +08:00
parent ebcf98c137
commit 62efdd7f7a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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,