Skip to content

Commit b0ff43a

Browse files
committed
Why would we show an archived product on the Menu?
1 parent e79ddc0 commit b0ff43a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/furniture/marketplace/menu/product_component.html.erb

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
<%= image_tag hero_image, class: "rounded-t-lg w-full" %>
66
<figcaption class="px-2 pt-4 sm:px-4">
77
<h3><%= name %></h3>
8-
<%- if product.archived? %>
9-
<span class="italic">(archived)</span>
10-
<%- end %>
118
</figcaption>
129
</figure>
1310
<%- else %>

0 commit comments

Comments
 (0)