Merge branch '10346-rearrange-api-docs' closes #10346
[arvados.git] / apps / workbench / app / models / job_work_unit.rb
index 43918099119fd0968ae745074a3d98c10c67c415..a3f13f388c9bff38d8f5450633b1e41d1fad338a 100644 (file)
@@ -73,12 +73,7 @@ class JobWorkUnit < ProxyWorkUnit
 
   def outputs
     items = []
-    children.each do |c|
-      items.concat c.outputs
-    end
-    if !items.any?
-      items << get(:output) if get(:output)
-    end
+    items << get(:output) if get(:output)
     items
   end