⚡ Add query param for templates (#2293)

This commit is contained in:
Mutasem Aldmour
2021-10-07 14:54:22 -05:00
committed by GitHub
parent 1d90cd3b09
commit 857426a918
+1 -1
View File
@@ -457,7 +457,7 @@ export default mixins(
}
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.$store.dispatch('workflows/setNewWorkflowName', data.name);