diff --git a/backend/app/views/spree/admin/variants/_table_filter.html.erb b/backend/app/views/spree/admin/variants/_table_filter.html.erb index 3542fe3e81f..27ce6cb3dd0 100644 --- a/backend/app/views/spree/admin/variants/_table_filter.html.erb +++ b/backend/app/views/spree/admin/variants/_table_filter.html.erb @@ -11,7 +11,7 @@ - <% if product.variants.discarded.any? %> + <% if product.variants.with_discarded.discarded.any? %>