aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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){