mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix: Update workflow title in workflowsById as well (no-changelog) (#4682)
This commit is contained in:
@@ -284,6 +284,10 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
|
|||||||
uiStore.stateIsDirty = true;
|
uiStore.stateIsDirty = true;
|
||||||
}
|
}
|
||||||
this.workflow.name = data.newName;
|
this.workflow.name = data.newName;
|
||||||
|
|
||||||
|
if (this.workflow.id !== PLACEHOLDER_EMPTY_WORKFLOW_ID) {
|
||||||
|
this.workflowsById[this.workflow.id].name = data.newName;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
setWorkflowHash(hash: string): void {
|
setWorkflowHash(hash: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user