1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-20 09:27:44 +03:00

🐛 Fix warning on save

This commit is contained in:
Jan Oberhauser 2019-10-04 12:43:48 +02:00
parent 5829ed2e3d
commit 1ab8896c37

View File

@ -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');