aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/js/dashboard.js4
1 files changed, 2 insertions, 2 deletions
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) {