Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jomarko committed Sep 19, 2024
1 parent dd67a91 commit 302ec19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export function _checkIsValidConnection(

// External nodes cannot be targeted by default
// However there are exceptions, for example adding a waypoint on the edge
if (!extraArg?.allowExternalTarget && targetNode.data.dmnObjectQName.prefix) {
const isExternalNode = targetNode.data.dmnObjectQName.prefix != undefined;
if (!extraArg?.allowExternalTarget && isExternalNode) {
return false;
}

Expand Down

0 comments on commit 302ec19

Please sign in to comment.