From: Parker Berberian Date: Tue, 25 Jun 2019 20:07:32 +0000 (-0400) Subject: Dashboard.js bug fix X-Git-Tag: 2.0.99~82 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=7dc7649a1171b9e95794249e26f76a8984a8cee4;p=laas.git Dashboard.js bug fix A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian --- diff --git a/src/static/js/dashboard.js b/src/static/js/dashboard.js index 0ed61e8..bd43c77 100644 --- a/src/static/js/dashboard.js +++ b/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) {