From 857426a918ff1ec9e26c7006abce4244efc8dfe9 Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Thu, 7 Oct 2021 21:54:22 +0200 Subject: [PATCH] :zap: Add query param for templates (#2293) --- packages/editor-ui/src/views/NodeView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 05d32cce2d..87b3647510 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -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);