mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
fix: Update workflow title in workflowsById as well (no-changelog) (#4682)
This commit is contained in:
parent
a356d7bdba
commit
249b7eba15
|
@ -284,6 +284,10 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
|
|||
uiStore.stateIsDirty = true;
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue