Explorar o código

removing extraneous

Kyle Belfort %!s(int64=5) %!d(string=hai) anos
pai
achega
f2725c5dca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nodeEditor/src/diagram/graphFrame.ts

+ 1 - 1
nodeEditor/src/diagram/graphFrame.ts

@@ -134,7 +134,7 @@ export class GraphFrame {
                     let portAdded = false;
 
                     for (var link of node.links) {
-                        if (link.portA === port && this.nodes.indexOf(link.nodeB!) === -1 || (link.portA! === port && port.exposedOnFrame)) {
+                        if (link.portA === port && this.nodes.indexOf(link.nodeB!) === -1 || (link.portA === port && port.exposedOnFrame)) {
                             let localPort: FrameNodePort;
 
                             if (!portAdded) {