diff --git a/app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb b/app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb index 6f467c97..0c4b09dd 100644 --- a/app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb +++ b/app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb @@ -1,3 +1,3 @@ <%= content_tag :li , class: ('active' if current == 'Parts') do %> <%= link_to_with_icon 'th', Spree.t(:parts), admin_product_parts_url(@product) %> -<% end %> +<% end unless @product.can_be_part? %>