From: Parker Berberian Date: Tue, 25 Jun 2019 20:07:32 +0000 (-0400) Subject: Dashboard.js bug fix X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5a18f9d65a88b2eff95b425f068f90ebd9347046;p=pharos-tools.git Dashboard.js bug fix A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian --- diff --git a/dashboard/src/static/js/dashboard.js b/dashboard/src/static/js/dashboard.js index 0ed61e8..bd43c77 100644 --- a/dashboard/src/static/js/dashboard.js +++ b/dashboard/src/static/js/dashboard.js @@ -90,7 +90,7 @@ class MultipleSelectFilterWidget { } for(let node of selected) { this.select(node); - this.markAndSweep(selected[i]); + this.markAndSweep(node); } } } @@ -732,7 +732,7 @@ class NetworkStep { addNetwork(net_name) { const ret = this.makeMxNetwork(net_name); - this.makeSidebarNetwork(...ret); + this.makeSidebarNetwork(net_name, ret.color, ret.element_id); } updateHosts(removed) {