mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Use nodes and connection from passed in workflow in RunData (no-changelog) (#17628)
This commit is contained in:
@@ -807,8 +807,8 @@ function getNodeHints(): NodeHint[] {
|
|||||||
node: node.value,
|
node: node.value,
|
||||||
nodeType: nodeType.value,
|
nodeType: nodeType.value,
|
||||||
nodeOutputData,
|
nodeOutputData,
|
||||||
nodes: workflowsStore.allNodes,
|
nodes: props.workflow.nodes,
|
||||||
connections: workflowsStore.connectionsBySourceNode,
|
connections: props.workflow.connectionsBySourceNode,
|
||||||
hasNodeRun: hasNodeRun.value,
|
hasNodeRun: hasNodeRun.value,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -151,7 +151,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -202,7 +202,7 @@ describe('getGenericHints', () => {
|
|||||||
nodeOutputData: mockNodeOutputData,
|
nodeOutputData: mockNodeOutputData,
|
||||||
hasMultipleInputItems,
|
hasMultipleInputItems,
|
||||||
hasNodeRun,
|
hasNodeRun,
|
||||||
nodes: [],
|
nodes: {},
|
||||||
connections: {},
|
connections: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import type {
|
|||||||
IConnections,
|
IConnections,
|
||||||
INode,
|
INode,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
|
INodes,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
NodeHint,
|
NodeHint,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
@@ -381,7 +382,7 @@ export function getGenericHints({
|
|||||||
nodeType: INodeTypeDescription;
|
nodeType: INodeTypeDescription;
|
||||||
nodeOutputData: INodeExecutionData[];
|
nodeOutputData: INodeExecutionData[];
|
||||||
hasMultipleInputItems: boolean;
|
hasMultipleInputItems: boolean;
|
||||||
nodes: INode[];
|
nodes: INodes;
|
||||||
connections: IConnections;
|
connections: IConnections;
|
||||||
hasNodeRun: boolean;
|
hasNodeRun: boolean;
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user