Resource display remains on error 87/72287/1
authorSean Smith <ssmith@iol.unh.edu>
Mon, 29 Mar 2021 18:14:48 +0000 (14:14 -0400)
committerSean Smith <ssmith@iol.unh.edu>
Mon, 29 Mar 2021 18:14:48 +0000 (14:14 -0400)
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: I0a59ef9da908599cf75e379b68b33e280a4deb16

src/static/js/dashboard.js

index b0d2b6b..dfbb157 100644 (file)
@@ -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){