fix: iteration log index error (#14855)
This commit is contained in:
parent
96eed571d9
commit
330dc2fd44
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ function addChildrenToIterationNode(iterationNode: NodeTracing, childrenNodes: N
|
||||||
childrenNodes.forEach((item, index) => {
|
childrenNodes.forEach((item, index) => {
|
||||||
if (!item.execution_metadata) return
|
if (!item.execution_metadata) return
|
||||||
const { iteration_index = 0 } = item.execution_metadata
|
const { iteration_index = 0 } = item.execution_metadata
|
||||||
const runIndex: number = iteration_index || index
|
const runIndex: number = iteration_index !== undefined ? iteration_index : index
|
||||||
if (!details[runIndex])
|
if (!details[runIndex])
|
||||||
details[runIndex] = []
|
details[runIndex] = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue