X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/975e9af85c66fa710728382d1efc66816c25f368..89355aa0e2727373fa60c781ec6c00c31a79a7dc:/apps/workbench/app/models/pipeline_instance.rb diff --git a/apps/workbench/app/models/pipeline_instance.rb b/apps/workbench/app/models/pipeline_instance.rb index da6116e916..ccb88351a7 100644 --- a/apps/workbench/app/models/pipeline_instance.rb +++ b/apps/workbench/app/models/pipeline_instance.rb @@ -16,9 +16,9 @@ class PipelineInstance < ArvadosBase end end end - + def attribute_editable?(attr) - attr == 'name' + attr.to_sym == :name || (attr.to_sym == :components and self.active == nil) end def attributes_for_display