projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into 2049-run-job-from-workbench
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
pipeline_instances_controller.rb
diff --git
a/apps/workbench/app/controllers/pipeline_instances_controller.rb
b/apps/workbench/app/controllers/pipeline_instances_controller.rb
index 42cb2e9d44c8af1155f56133c7463476013049f5..a8a35b510b4b93fbf6905a5c8cb85602b3bfc7bb 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_instances_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_instances_controller.rb
@@
-45,6
+45,12
@@
class PipelineInstancesController < ApplicationController
end
def show
end
def show
+ if @object.components.empty? and @object.pipeline_template_uuid
+ template = PipelineTemplate.find(@object.pipeline_template_uuid)
+ @object.components= template.components
+ @object.save
+ end
+
@pipelines = [@object]
if params[:compare]
@pipelines = [@object]
if params[:compare]