mirror of https://github.com/portainer/portainer
Color and edge cleanup
parent
758ac41648
commit
7748adf0e6
|
@ -51,7 +51,7 @@ angular.module('containersNetwork', ['ngVis'])
|
||||||
return this.edges.getIds({
|
return this.edges.getIds({
|
||||||
filter: function (item) {
|
filter: function (item) {
|
||||||
return item.from == from.Id && item.to == to.Id;
|
return item.from == from.Id && item.to == to.Id;
|
||||||
} });
|
} }).length > 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.addLinkEdgeIfExists = function(from, to) {
|
this.addLinkEdgeIfExists = function(from, to) {
|
||||||
|
|
Loading…
Reference in New Issue