Skip to content

Commit

Permalink
Add conditional for rendering product action
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Oct 24, 2023
1 parent e6fd694 commit f1a2cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spree/admin/products/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
target: action.target,
data: action.data
) %>
<% end %>
<% end if product_actions&.items %>
<% end %>

<%= render partial: 'spree/admin/shared/product_tabs', locals: {current: :details} %>
Expand Down

0 comments on commit f1a2cc6

Please sign in to comment.