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
commit 8944e5fa64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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(