From 5a18f9d65a88b2eff95b425f068f90ebd9347046 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Tue, 25 Jun 2019 16:07:32 -0400 Subject: Dashboard.js bug fix A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian --- dashboard/src/static/js/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- cgit 1.2.3-korg