aboutsummaryrefslogtreecommitdiffstats
path: root/src/static/js
diff options
context:
space:
mode:
authorSean Smith <ssmith@iol.unh.edu>2021-03-29 14:14:48 -0400
committerSean Smith <ssmith@iol.unh.edu>2021-03-29 14:14:48 -0400
commita35c01bccec1137ccd8a0f07f832daecb4ee2da3 (patch)
tree847b63d8e1f0f9785f0250586216d8d4b7e6bdc9 /src/static/js
parent7addb00710a5865a9e6bc38f1d826aa0323ee67e (diff)
Resource display remains on error
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I0a59ef9da908599cf75e379b68b33e280a4deb16
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/dashboard.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/static/js/dashboard.js b/src/static/js/dashboard.js
index b0d2b6b..dfbb157 100644
--- a/src/static/js/dashboard.js
+++ b/src/static/js/dashboard.js
@@ -242,6 +242,7 @@ class MultipleSelectFilterWidget {
this.make_multiple_selection(node, selection_data);
}
this.currentLab = node;
+ this.available_resources = JSON.parse(node['available_resources']);
}
for( let node_id in initial_resources){
@@ -256,6 +257,7 @@ class MultipleSelectFilterWidget {
this.make_multiple_selection(node, selection_data);
}
}
+ this.updateAvailibility();
}
make_multiple_selection(node, selection_data){