projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4084: Remove excess loaded class.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_pipeline_progress.html.erb
diff --git
a/apps/workbench/app/views/application/_pipeline_progress.html.erb
b/apps/workbench/app/views/application/_pipeline_progress.html.erb
index d478f65ddc48c164acc3d96346e6e3deabfc8eaf..2ae03a00aaf46a1e6d50bd034652458c19f7320b 100644
(file)
--- a/
apps/workbench/app/views/application/_pipeline_progress.html.erb
+++ b/
apps/workbench/app/views/application/_pipeline_progress.html.erb
@@
-1,7
+1,7
@@
<% component_frac = 1.0 / p.components.length %>
<div class="progress">
<% p.components.each do |k,c| %>
<% 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 %>
<%= render partial: "job_progress", locals: {:j => c[:job], :scaleby => component_frac } %>
<% end %>
<% end %>