Skip to content

Commit

Permalink
Dragging a port and dropping on the same port throws a console error …
Browse files Browse the repository at this point in the history
…on the NME (#13630)
  • Loading branch information
deltakosh committed Mar 14, 2023
1 parent b007f5a commit 6fbfaa4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ export class ConnectionPointPortData implements IPortData {
if (!this.isConnected) {
return null;
}
if (!this._connectedPort) {
if (!this._connectedPort && this.data.connectedPoint) {
const otherBlock = this.data.connectedPoint!.ownerBlock;
let otherNode = this._nodeContainer.nodes.find((n) => n.content.data === otherBlock);

Expand Down

0 comments on commit 6fbfaa4

Please sign in to comment.