mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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
|
// Also set it in the returned data
|
||||||
workflow.active = false;
|
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);
|
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) {
|
if (name) {
|
||||||
this.$store.commit('setWorkflowName', {newName: workflowData.name});
|
this.$store.commit('setWorkflowName', {newName: workflowData.name});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue