mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
fix: workflow set dirty after config update
This commit is contained in:
parent
99f45499cf
commit
d996547f19
1 changed files with 2 additions and 1 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue