mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Add query param for templates (#2293)
This commit is contained in:
parent
1d90cd3b09
commit
857426a918
|
@ -457,7 +457,7 @@ export default mixins(
|
||||||
}
|
}
|
||||||
|
|
||||||
this.blankRedirect = true;
|
this.blankRedirect = true;
|
||||||
this.$router.push({ name: 'NodeViewNew' });
|
this.$router.push({ name: 'NodeViewNew', query: { templateId } });
|
||||||
|
|
||||||
await this.addNodes(data.workflow.nodes, data.workflow.connections);
|
await this.addNodes(data.workflow.nodes, data.workflow.connections);
|
||||||
await this.$store.dispatch('workflows/setNewWorkflowName', data.name);
|
await this.$store.dispatch('workflows/setNewWorkflowName', data.name);
|
||||||
|
|
Loading…
Reference in a new issue