diff --git a/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx b/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx index d304b41a9..dc8be39eb 100644 --- a/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx +++ b/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx @@ -68,7 +68,7 @@ export function JsPlumbItem({ x, y, children, draggable, sourceConfig, targetCon useEffect(() => { if (!targetConfig || !apiRef?.current || !containerRef.current) return; - apiRef.current.makeSource(containerRef.current, targetConfig); + apiRef.current.makeTarget(containerRef.current, targetConfig); }, [ targetConfig ]); return (