mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 13:05:15 +00:00
Merge pull request #208 from Hexastack/207-bug-visual-editor-attachment-port
fix(frontend): attachment port link issue
This commit is contained in:
commit
8944e5fa64
@ -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