mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
fix(frontend): attachment port link issue
This commit is contained in:
parent
b11761ac2f
commit
ad407a5a6a
@ -199,6 +199,8 @@ const Diagrams = () => {
|
|||||||
}) => {
|
}) => {
|
||||||
const link = model.getLink(entity.getOptions().id as string);
|
const link = model.getLink(entity.getOptions().id as string);
|
||||||
|
|
||||||
|
if (!link) return;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!port.getOptions().in ||
|
!port.getOptions().in ||
|
||||||
[BlockPorts.nextBlocksOutPort, BlockPorts.attachmentOutPort].includes(
|
[BlockPorts.nextBlocksOutPort, BlockPorts.attachmentOutPort].includes(
|
||||||
|
Loading…
Reference in New Issue
Block a user