X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2d4263c16812a906589cbc13be26535a85691bd8..e2a7fe50d3b6e98b7f549c78c4f91dbe4066ddbb:/services/api/app/views/pipeline_instances/index.html.erb?ds=sidebyside diff --git a/services/api/app/views/pipeline_instances/index.html.erb b/services/api/app/views/pipeline_instances/index.html.erb index e8cb553daf..cfadd26cdd 100644 --- a/services/api/app/views/pipeline_instances/index.html.erb +++ b/services/api/app/views/pipeline_instances/index.html.erb @@ -19,13 +19,13 @@ <% @objects.each do |o| %> - <% status = o.success ? 'success' : (o.success == false ? 'failure' : 'pending') %> + <% status = (o.state == 'Complete') ? 'success' : ((o.state == 'Failed') ? 'failure' : 'pending') %>