Skip to content

Commit

Permalink
Merge pull request #208 from Hexastack/207-bug-visual-editor-attachme…
Browse files Browse the repository at this point in the history
…nt-port

fix(frontend): attachment port link issue
  • Loading branch information
marrouchi authored Oct 13, 2024
2 parents b11761a + ad407a5 commit 8944e5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/visual-editor/v2/Diagrams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8944e5f

Please sign in to comment.