mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
remove changes
This commit is contained in:
parent
8f0db915cf
commit
a720356ce8
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue