summaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-25 16:07:32 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-06-25 16:07:32 -0400
commit5a18f9d65a88b2eff95b425f068f90ebd9347046 (patch)
treea83b5798320bcc24db855459d4aa865bf6f48ef3 /dashboard
parent3fa4ae19d620666d878cd43c56ad15fbe7c7c363 (diff)
Dashboard.js bug fix
A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/src/static/js/dashboard.js4
1 files 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) {