mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
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:
committed by
GitHub
parent
871d4193e2
commit
8886516c9e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user