From ae04eb6150996a346f20359a959ee7e7d2f37e47 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Mon, 25 Oct 2021 17:25:10 +0200 Subject: [PATCH] select start node by default when opening new workflow --- packages/editor-ui/src/views/NodeView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index cc1de9aa69..3bdeb42e34 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -1701,6 +1701,9 @@ export default mixins( this.$store.commit('setStateDirty', false); await this.addNodes([DEFAULT_START_NODE]); + + this.nodeSelectedByName(DEFAULT_START_NODE.name, false); + this.$store.commit('setStateDirty', false); this.setZoomLevel(1);