9372: Corrected dashboard display to list container_requests, not containers as imple...
[arvados.git] / apps / workbench / app / views / work_unit / _progress.html.erb
index ef7dcd942d0f6d4d52b7cdf249ad96cb67a5eb25..69a37884c42d4d52a291b04a6662e96c9ec33937 100644 (file)
@@ -1,5 +1,5 @@
-<% if wu.state_label == 'Running' %>
-  <% if @object.uuid == wu.uuid and wu.progress == 0.0 %>
+<% if wu.is_running? %>
+  <% if @object.andand.uuid == wu.uuid and wu.progress == 0.0 %>
     <span class="label label-<%= wu.state_bootstrap_class %>"> Active </span>
   <% else%>
     <div class="progress" style="margin-bottom: 0px">