mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Fix run index input for RunData view in sub-nodes (#11538)
This commit is contained in:
@@ -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')"
|
||||
|
||||
Reference in New Issue
Block a user