X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/eee2c981d6a29eb7f15b8957570bbf8515d3d947..f8743ac8fa1ed9dc8c7c4f7a23803ffe8721cfa6:/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 d435ad40ea..45e472fae9 100644 --- a/apps/workbench/app/models/pipeline_instance.rb +++ b/apps/workbench/app/models/pipeline_instance.rb @@ -18,7 +18,8 @@ class PipelineInstance < ArvadosBase end def attribute_editable?(attr) - attr && (attr.to_sym == :name || (attr.to_sym == :components and self.active == nil)) + attr && (attr.to_sym == :name || + (attr.to_sym == :components and (self.state == 'New' || self.state == 'Ready'))) end def attributes_for_display