From ad407a5a6a307c538d64aef9d83c3a6defc2a38a Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Sat, 12 Oct 2024 21:57:55 +0100 Subject: [PATCH] fix(frontend): attachment port link issue --- frontend/src/components/visual-editor/v2/Diagrams.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/visual-editor/v2/Diagrams.tsx b/frontend/src/components/visual-editor/v2/Diagrams.tsx index 9172eac..6903189 100644 --- a/frontend/src/components/visual-editor/v2/Diagrams.tsx +++ b/frontend/src/components/visual-editor/v2/Diagrams.tsx @@ -199,6 +199,8 @@ const Diagrams = () => { }) => { const link = model.getLink(entity.getOptions().id as string); + if (!link) return; + if ( !port.getOptions().in || [BlockPorts.nextBlocksOutPort, BlockPorts.attachmentOutPort].includes(