diff --git a/packages/editor-ui/src/components/mixins/workflowHelpers.ts b/packages/editor-ui/src/components/mixins/workflowHelpers.ts index 8b7be89200..6c39c61ce4 100644 --- a/packages/editor-ui/src/components/mixins/workflowHelpers.ts +++ b/packages/editor-ui/src/components/mixins/workflowHelpers.ts @@ -422,10 +422,12 @@ export const workflowHelpers = mixins( await this.restApi().updateWorkflow(currentWorkflow, workflowData); } - this.$router.push({ - name: 'NodeViewExisting', - params: { name: workflowData.id as string, action: 'workflowSave' }, - }); + if (this.$route.params.name !== workflowData.id) { + this.$router.push({ + name: 'NodeViewExisting', + params: { name: workflowData.id as string, action: 'workflowSave' }, + }); + } this.$store.commit('removeActiveAction', 'workflowSaving');