mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix: Load workflows with unconnected Switch outputs (#12020)
This commit is contained in:
@@ -364,7 +364,8 @@ export interface ICredentialDataDecryptedObject {
|
||||
|
||||
// First array index: The output/input-index (if node has multiple inputs/outputs of the same type)
|
||||
// Second array index: The different connections (if one node is connected to multiple nodes)
|
||||
export type NodeInputConnections = IConnection[][];
|
||||
// Any index can be null, for example in a switch node with multiple indexes some of which are not connected
|
||||
export type NodeInputConnections = Array<IConnection[] | null>;
|
||||
|
||||
export interface INodeConnection {
|
||||
sourceIndex: number;
|
||||
|
||||
Reference in New Issue
Block a user