fix: iteration log index error (#14855)

pull/14880/head
Joel 1 year ago committed by GitHub
parent 96eed571d9
commit 330dc2fd44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,7 +6,7 @@ function addChildrenToIterationNode(iterationNode: NodeTracing, childrenNodes: N
childrenNodes.forEach((item, index) => {
if (!item.execution_metadata) return
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])
details[runIndex] = []

Loading…
Cancel
Save