From 44038b9628a058266cd85838358476e5c6c32509 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Wed, 4 Sep 2024 17:26:43 +0800 Subject: [PATCH] fix: iteration copy --- web/app/components/workflow/nodes/iteration/use-interactions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/workflow/nodes/iteration/use-interactions.ts b/web/app/components/workflow/nodes/iteration/use-interactions.ts index 9a86f746da..f8e3640cc4 100644 --- a/web/app/components/workflow/nodes/iteration/use-interactions.ts +++ b/web/app/components/workflow/nodes/iteration/use-interactions.ts @@ -122,6 +122,7 @@ export const useNodeIterationInteractions = () => { _connectedSourceHandleIds: [], _connectedTargetHandleIds: [], title: nodesWithSameType.length > 0 ? `${t(`workflow.blocks.${childNodeType}`)} ${nodesWithSameType.length + 1}` : t(`workflow.blocks.${childNodeType}`), + iteration_id: newNodeId, }, position: child.position, positionAbsolute: child.positionAbsolute,