mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(core): Make node execution order configurable, and backward-compatible (#6507)
* fix(core): Make node execution order configurable, and backward-compatible * ⚡ Also add new Merge-Node behaviour * ⚡ Fix typo * Fix lint issue * update labels * rename legacy to v0 * remove the unnecessary log * default all new workflows to use v1 execution-order * remove the controller changes * clone default settings to avoid it getting modified --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f0dfc3cf4e
commit
d97edbcffa
@@ -3523,22 +3523,7 @@ export default defineComponent({
|
||||
// Ignore all errors
|
||||
});
|
||||
}
|
||||
this.workflowsStore.removeAllConnections({ setStateDirty: false });
|
||||
this.workflowsStore.removeAllNodes({ setStateDirty: false, removePinData: true });
|
||||
|
||||
// Reset workflow execution data
|
||||
this.workflowsStore.setWorkflowExecutionData(null);
|
||||
this.workflowsStore.resetAllNodesIssues();
|
||||
|
||||
this.workflowsStore.setActive(false);
|
||||
this.workflowsStore.setWorkflowId(PLACEHOLDER_EMPTY_WORKFLOW_ID);
|
||||
this.workflowsStore.setWorkflowName({ newName: '', setStateDirty: false });
|
||||
this.workflowsStore.setWorkflowSettings({});
|
||||
this.workflowsStore.setWorkflowTagIds([]);
|
||||
|
||||
this.workflowsStore.activeExecutionId = null;
|
||||
this.workflowsStore.executingNode = null;
|
||||
this.workflowsStore.executionWaitingForWebhook = false;
|
||||
this.workflowsStore.resetState();
|
||||
this.uiStore.removeActiveAction('workflowRunning');
|
||||
|
||||
this.uiStore.resetSelectedNodes();
|
||||
|
||||
Reference in New Issue
Block a user