3988: Update crunch-job, arv-run-pipeline-instance and workbench to read/write
[arvados.git] / apps / workbench / app / views / application / _pipeline_progress.html.erb
index d478f65ddc48c164acc3d96346e6e3deabfc8eaf..2ae03a00aaf46a1e6d50bd034652458c19f7320b 100644 (file)
@@ -1,7 +1,7 @@
 <% component_frac = 1.0 / p.components.length %>
 <div class="progress">
   <% p.components.each do |k,c| %>
-    <% if c[:job] %>
+    <% if c.is_a?(Hash) and c[:job] %>
       <%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %>
     <% end %>
   <% end %>