Skip to content

Commit

Permalink
feat: update condition to enable delivery promises
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurFerrao committed Jan 16, 2025
1 parent 73fc6a5 commit 5af0500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/utils/getFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const getFilters = ({

if (
!showShippingFacet ||
!(production && variant && variant.indexOf('delivery_promises') !== -1)
(production && variant && variant.indexOf('delivery_promises') === -1)
) {
deliveriesFormatted = deliveriesFormatted.filter(
d => d.name !== SHIPPING_KEY
Expand Down

0 comments on commit 5af0500

Please sign in to comment.