mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-31 23:47:28 -08:00
select start node by default when opening new workflow
This commit is contained in:
parent
a4b6dc4715
commit
ae04eb6150
|
@ -1701,6 +1701,9 @@ export default mixins(
|
||||||
this.$store.commit('setStateDirty', false);
|
this.$store.commit('setStateDirty', false);
|
||||||
|
|
||||||
await this.addNodes([DEFAULT_START_NODE]);
|
await this.addNodes([DEFAULT_START_NODE]);
|
||||||
|
|
||||||
|
this.nodeSelectedByName(DEFAULT_START_NODE.name, false);
|
||||||
|
|
||||||
this.$store.commit('setStateDirty', false);
|
this.$store.commit('setStateDirty', false);
|
||||||
|
|
||||||
this.setZoomLevel(1);
|
this.setZoomLevel(1);
|
||||||
|
|
Loading…
Reference in a new issue