fix: workflow set dirty after config update

This commit is contained in:
Abhishek Kumar 2026-03-17 18:31:33 +05:30
parent 99f45499cf
commit d996547f19

View file

@ -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}`);