Merge pull request #208 from Hexastack/207-bug-visual-editor-attachment-port

fix(frontend): attachment port link issue
This commit is contained in:
Med Marrouchi
2024-10-13 06:31:47 +01:00
committed by GitHub

View File

@@ -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(