mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -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);
|
await this.restApi().updateWorkflow(currentWorkflow, workflowData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.$route.params.name !== workflowData.id) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'NodeViewExisting',
|
name: 'NodeViewExisting',
|
||||||
params: { name: workflowData.id as string, action: 'workflowSave' },
|
params: { name: workflowData.id as string, action: 'workflowSave' },
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
this.$store.commit('removeActiveAction', 'workflowSaving');
|
this.$store.commit('removeActiveAction', 'workflowSaving');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue