fix(editor): Fix run index input for RunData view in sub-nodes (#11538)

This commit is contained in:
oleg
2024-11-05 16:47:45 +01:00
committed by GitHub
parent dfd785bc08
commit 434d31ce92
6 changed files with 516 additions and 90 deletions

View File

@@ -179,7 +179,7 @@ export default defineComponent({
rootNode(): string {
const workflow = this.workflow;
const rootNodes = workflow.getChildNodes(this.activeNode?.name ?? '', 'ALL_NON_MAIN');
const rootNodes = workflow.getChildNodes(this.activeNode?.name ?? '', 'ALL');
return rootNodes[0];
},
@@ -342,7 +342,7 @@ export default defineComponent({
:node="currentNode"
:nodes="isMappingMode ? rootNodesParents : parentNodes"
:workflow="workflow"
:run-index="runIndex"
:run-index="isMappingMode ? 0 : runIndex"
:linked-runs="linkedRuns"
:can-link-runs="!mappedNode && canLinkRuns"
:too-much-data-title="$locale.baseText('ndv.input.tooMuchData.title')"