refactor(editor): Delete leftover restApi mixin file (no-changelog) (#6074)

* refactor(editor): Delete leftover `restApi` mixin file (no-changelog)
* Removing leftover comment
This commit is contained in:
Milorad FIlipović
2023-04-24 14:23:33 +02:00
committed by GitHub
parent 871d4193e2
commit 8886516c9e
7 changed files with 11 additions and 250 deletions

View File

@@ -510,12 +510,9 @@ export default mixins(workflowHelpers).extend({
}
try {
await this.workflowsStore.deleteWorkflowAPI(this.currentWorkflowId);
await this.workflowsStore.deleteWorkflow(this.currentWorkflowId);
} catch (error) {
this.$showError(
error,
this.$locale.baseText('mainSidebar.showError.stopExecution.title'),
);
this.$showError(error, this.$locale.baseText('generic.deleteWorkflowError'));
return;
}
this.uiStore.stateIsDirty = false;