mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-24 11:02:12 -08:00
🐛 Fix warning on save
This commit is contained in:
parent
5829ed2e3d
commit
1ab8896c37
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue