fix(editor): Fix for missing node connections in dev environment (#4707)

* 🐛 Fixing connections not showing up in dev environment
* 🐛 Fixing a bug when opening execution page directly
This commit is contained in:
Milorad FIlipović
2022-11-24 10:52:56 +01:00
committed by GitHub
parent ee6ac5d341
commit b18ae18a6b
10 changed files with 810 additions and 843 deletions

View File

@@ -282,7 +282,7 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
}
this.workflow.name = data.newName;
if (this.workflow.id !== PLACEHOLDER_EMPTY_WORKFLOW_ID) {
if (this.workflow.id !== PLACEHOLDER_EMPTY_WORKFLOW_ID && this.workflowsById[this.workflow.id]) {
this.workflowsById[this.workflow.id].name = data.newName;
}
},