mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
fix: Handle nodes with missing type field in ActivateExecuteWorkflowTriggerWorkflows migration (#23392)
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ export class ActivateExecuteWorkflowTriggerWorkflows1763048000000 implements Irr
|
||||
// Disable other trigger nodes (keep valid executeWorkflowTrigger and errorTrigger enabled)
|
||||
let nodesModified = false;
|
||||
nodes.forEach((node: Node) => {
|
||||
if (this.isTriggerNode(node.type)) {
|
||||
if (node.type && this.isTriggerNode(node.type)) {
|
||||
// Keep valid Execute Workflow Trigger active
|
||||
if (
|
||||
node.type === EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE &&
|
||||
|
||||
Reference in New Issue
Block a user