diff --git a/ui/src/domain/workflow.ts b/ui/src/domain/workflow.ts index 1a5f7278..07841902 100644 --- a/ui/src/domain/workflow.ts +++ b/ui/src/domain/workflow.ts @@ -460,6 +460,7 @@ export const getOutputBeforeNodeId = (root: WorkflowNode, nodeId: string, type: } if (latestOutput && branch.type === WorkflowNodeType.ExecuteFailure) { output.push(latestOutput); + currentLength += 1; } } }