Skip to content

Commit d244b07

Browse files
committed
fix: fix getusedinports function
1 parent 38990db commit d244b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/elements/addElement.js

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ const createBox = (
163163
},
164164

165165
getUsedInPorts: function() {
166+
const graph = this.graph;
166167
if (!graph) return [];
167168
const connectedLinks = graph.getConnectedLinks(this, { inbound: true });
168169
return connectedLinks.map(link => {

0 commit comments

Comments
 (0)