mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 04:10:01 +00:00
refactor(editor): Update RunDataAi helpers to use connections instead of Workflow object (no-changelog) (#17630)
This commit is contained in:
@@ -31,11 +31,20 @@ const selectedRun: Ref<IAiData[]> = ref([]);
|
||||
const i18n = useI18n();
|
||||
|
||||
const aiData = computed<AIResult[]>(() =>
|
||||
createAiData(props.node.name, props.workflow, workflowsStore.getWorkflowResultDataByNodeName),
|
||||
createAiData(
|
||||
props.node.name,
|
||||
props.workflow.connectionsBySourceNode,
|
||||
workflowsStore.getWorkflowResultDataByNodeName,
|
||||
),
|
||||
);
|
||||
|
||||
const executionTree = computed<TreeNode[]>(() =>
|
||||
getTreeNodeData(props.node.name, props.workflow, aiData.value, props.runIndex),
|
||||
getTreeNodeData(
|
||||
props.node.name,
|
||||
props.workflow.connectionsBySourceNode,
|
||||
aiData.value,
|
||||
props.runIndex,
|
||||
),
|
||||
);
|
||||
|
||||
function isTreeNodeSelected(node: TreeNode) {
|
||||
|
||||
Reference in New Issue
Block a user