From 135dcfa3e52dd3c82068087ab12f0b29fd3b4fbc Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 15 Aug 2024 21:02:41 +0800 Subject: [PATCH] fix: not show correct iteration times number in run history (#7318) --- 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 f0f7ec5173..66f996f13b 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 ? (