diff --git a/app/components/containersNetwork/containersNetworkController.js b/app/components/containersNetwork/containersNetworkController.js index 8d901e311..1d46d7aa9 100644 --- a/app/components/containersNetwork/containersNetworkController.js +++ b/app/components/containersNetwork/containersNetworkController.js @@ -51,7 +51,7 @@ angular.module('containersNetwork', ['ngVis']) return this.edges.getIds({ filter: function (item) { return item.from == from.Id && item.to == to.Id; - } }); + } }).length > 0; }; this.addLinkEdgeIfExists = function(from, to) {