diff --git a/ui/src/app/workflow/[workflowId]/hooks/useWorkflowState.ts b/ui/src/app/workflow/[workflowId]/hooks/useWorkflowState.ts index 81df8c4..97daef2 100644 --- a/ui/src/app/workflow/[workflowId]/hooks/useWorkflowState.ts +++ b/ui/src/app/workflow/[workflowId]/hooks/useWorkflowState.ts @@ -487,7 +487,8 @@ export const useWorkflowState = ({ }, }); setWorkflowConfigurations(configurationsWithDictionary); - setWorkflowName(newWorkflowName); + // Set name directly in the store to avoid setWorkflowName which marks isDirty: true + useWorkflowStore.setState({ workflowName: newWorkflowName }); logger.info('Workflow configurations saved successfully'); } catch (error) { logger.error(`Error saving workflow configurations: ${error}`);