mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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,
|
||||
nodeType: nodeType.value,
|
||||
nodeOutputData,
|
||||
nodes: workflowsStore.allNodes,
|
||||
connections: workflowsStore.connectionsBySourceNode,
|
||||
nodes: props.workflow.nodes,
|
||||
connections: props.workflow.connectionsBySourceNode,
|
||||
hasNodeRun: hasNodeRun.value,
|
||||
hasMultipleInputItems,
|
||||
});
|
||||
|
||||
@@ -61,7 +61,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
@@ -87,7 +87,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
@@ -126,7 +126,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
@@ -151,7 +151,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
@@ -176,7 +176,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
@@ -202,7 +202,7 @@ describe('getGenericHints', () => {
|
||||
nodeOutputData: mockNodeOutputData,
|
||||
hasMultipleInputItems,
|
||||
hasNodeRun,
|
||||
nodes: [],
|
||||
nodes: {},
|
||||
connections: {},
|
||||
});
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ import type {
|
||||
IConnections,
|
||||
INode,
|
||||
INodeExecutionData,
|
||||
INodes,
|
||||
INodeTypeDescription,
|
||||
NodeHint,
|
||||
} from 'n8n-workflow';
|
||||
@@ -381,7 +382,7 @@ export function getGenericHints({
|
||||
nodeType: INodeTypeDescription;
|
||||
nodeOutputData: INodeExecutionData[];
|
||||
hasMultipleInputItems: boolean;
|
||||
nodes: INode[];
|
||||
nodes: INodes;
|
||||
connections: IConnections;
|
||||
hasNodeRun: boolean;
|
||||
}) {
|
||||
|
||||
Reference in New Issue
Block a user