3114: bug fix: 'Copy' button is now disabled until a project has been selected for...
[arvados.git] / apps / workbench / app / views / application / _content_layout.html.erb
index c8e38277201b7a465fcc53a1f7b82556d7c18f31..519e8853f3bd77a10b6e28bc8cb0cafcb3d6bb24 100644 (file)
@@ -1,5 +1,5 @@
 <%= content_for :content_top %>
-  <% if @object and @object.is_a?(Group) and @object.group_class.in?(['project','folder']) %>
+  <% if @object and @object.is_a?(Group) and @object.group_class == 'project' %>
   <div class="pull-right">
     <%= content_for :tab_line_buttons %>
   </div>