diff --git a/web/app/components/workflow/nodes/_base/node.tsx b/web/app/components/workflow/nodes/_base/node.tsx index ad8f14b7be..bb681190ef 100644 --- a/web/app/components/workflow/nodes/_base/node.tsx +++ b/web/app/components/workflow/nodes/_base/node.tsx @@ -304,13 +304,13 @@ const BaseNode: FC = ({ { data.type !== BlockEnum.Iteration && data.type !== BlockEnum.Loop && ( - cloneElement(children, { data } as any) + cloneElement(children, { id, data } as any) ) } { (data.type === BlockEnum.Iteration || data.type === BlockEnum.Loop) && (
- {cloneElement(children, { data } as any)} + {cloneElement(children, { id, data } as any)}
) }