X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ae2787c96b41c3844193cba3e2dddffabd98be33..7538d084fa8778289053f62a6fb8d3ea04868258:/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb index d9814a0a70..6fa409a1ce 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb @@ -88,10 +88,12 @@ preload_objects_for_dataclass resource_class, job_uuids end - job_outputs = pipeline_jobs.collect {|j| j[:job][:output]}.compact - job_output_pdhs = job_outputs.select {|x| !(m = CollectionsHelper.match(x)).nil?}.compact - job_output_uuids = job_outputs - job_output_pdhs - preload_collections_for_objects job_output_uuids if job_output_uuids.any? + job_collections = pipeline_jobs.collect {|j| j[:job][:output]}.compact + job_collections.concat pipeline_jobs.collect {|j| j[:job][:docker_image_locator]}.uniq.compact + job_collections_pdhs = job_collections.select {|x| !(m = CollectionsHelper.match(x)).nil?}.uniq.compact + job_collections_uuids = job_collections - job_collections_pdhs + preload_collections_for_objects job_collections_uuids if job_collections_uuids.any? + preload_for_pdhs job_collections_pdhs if job_collections_pdhs.any? %> <% pipeline_jobs.each_with_index do |pj, i| %>