remove changes

This commit is contained in:
Mutasem 2022-01-18 12:54:40 +01:00
parent 8f0db915cf
commit a720356ce8
2 changed files with 3 additions and 7 deletions

View file

@ -906,6 +906,9 @@ class App {
// Also set it in the returned data
workflow.active = false;
// Now return the original error for UI to display
throw error;
}
}

View file

@ -463,13 +463,6 @@ export const workflowHelpers = mixins(
const workflowData = await this.restApi().updateWorkflow(currentWorkflow, workflowDataRequest);
// Explicitly commit active state change
// if (triggerIsRemoved) {
// this.$store.commit('setActive', false);
// this.$store.commit('setWorkflowInactive', workflowData.id);
// this.$externalHooks().run('workflow.activeChangeCurrent', { workflowId: workflowData.id, active: false });
// }
if (name) {
this.$store.commit('setWorkflowName', {newName: workflowData.name});
}