X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1c36703db22a4695f0a2aebaa3ffbd5d8d64997f..9e9edda09864405897ec816c9a080c5545642d11:/apps/workbench/app/views/work_unit/_component_detail.html.erb diff --git a/apps/workbench/app/views/work_unit/_component_detail.html.erb b/apps/workbench/app/views/work_unit/_component_detail.html.erb index 9ef16d00a8..19c7f224f6 100644 --- a/apps/workbench/app/views/work_unit/_component_detail.html.erb +++ b/apps/workbench/app/views/work_unit/_component_detail.html.erb @@ -9,7 +9,9 @@ <% keys << :outputs if @object.uuid == current_obj.uuid %> <% keys.each do |k| %> <% val = current_obj.send(k) if current_obj.respond_to?(k) %> - <% if val %> + <% has_val = val %> + <% has_val = val.andand.any? if k == :outputs %> + <% if has_val %> <%= k.to_s %>: