select start node by default when opening new workflow

This commit is contained in:
Mutasem 2021-10-25 17:25:10 +02:00
parent a4b6dc4715
commit ae04eb6150

View file

@ -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);