projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
10079: add "parent" to work_unit to aid the child display
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
job_work_unit.rb
diff --git
a/apps/workbench/app/models/job_work_unit.rb
b/apps/workbench/app/models/job_work_unit.rb
index a0a7c8796ef1783f7c7aba1fcfb9f54b3cba5451..a3f13f388c9bff38d8f5450633b1e41d1fad338a 100644
(file)
--- a/
apps/workbench/app/models/job_work_unit.rb
+++ b/
apps/workbench/app/models/job_work_unit.rb
@@
-71,8
+71,10
@@
class JobWorkUnit < ProxyWorkUnit
get(:log)
end
- def output
- get(:output)
+ def outputs
+ items = []
+ items << get(:output) if get(:output)
+ items
end
def can_cancel?