Skip to content

Commit

Permalink
fix(frontend): attachment port link issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinedorbozgithub committed Oct 12, 2024
1 parent b11761a commit ad407a5
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 ad407a5

Please sign in to comment.