2872: Fix bugs, tweak formatting
[arvados.git] / apps / workbench / app / views / application / _selection_checkbox.html.erb
index 9d279bc402fac12dfd433075c5f2876dbaab4394..25aef94cdb0e0ceb3a565d7397e33ffc634a5477 100644 (file)
@@ -1,4 +1,4 @@
-<%if object and object.class.goes_in_projects? %>
+<%if object and (object.class.goes_in_projects? or (object.is_a?(Link) and ArvadosBase::resource_class_for_uuid(object.head_uuid).to_s == 'Collection')) %>
   <% fn = if defined? friendly_name
             friendly_name
           else