Skip to content

Commit

Permalink
Why would we show an archived product on the Menu?
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer committed Jan 26, 2024
1 parent e79ddc0 commit b0ff43a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/furniture/marketplace/menu/product_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<%= image_tag hero_image, class: "rounded-t-lg w-full" %>
<figcaption class="px-2 pt-4 sm:px-4">
<h3><%= name %></h3>
<%- if product.archived? %>
<span class="italic">(archived)</span>
<%- end %>
</figcaption>
</figure>
<%- else %>
Expand Down

0 comments on commit b0ff43a

Please sign in to comment.