Skip to content

Commit

Permalink
fix don't save new workflows twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Jan 19, 2024
1 parent 1fa3328 commit 3dc6315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Workflow/Editor/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,10 @@ export default {
async onNavigate(url) {
if (this.isNewTempWorkflow) {
await this.onCreate();
} else {
await this.onSave(true);
}
await this.onSave(true);
this.hasChanges = false;
this.$router.push(url);
},
Expand Down

0 comments on commit 3dc6315

Please sign in to comment.