projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add "remove item from folder" buttons
[arvados.git]
/
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 da6116e91626ad2590ec042e6256c92c7455aa22..ccb88351a761be86abeda65dec7346b4de76c145 100644
(file)
--- 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