From b27b24f1c633a9207bb7b4781dc737b109686746 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 15 Aug 2024 20:46:10 +0800 Subject: [PATCH] fix: run history not show correct iteration times num --- web/app/components/workflow/run/node.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index f0f7ec51732a8..66f996f13b486 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -123,7 +123,7 @@ const NodePanel: FC = ({
-
{t('workflow.nodes.iteration.iteration', { count: nodeInfo.metadata?.iterator_length })}
+
{t('workflow.nodes.iteration.iteration', { count: nodeInfo.metadata?.iterator_length || nodeInfo.details?.length })}
{justShowIterationNavArrow ? (