Skip to content

Commit

Permalink
Merge pull request #5565 from kiva/fix-hide-old-badge-typage-when-iwd…
Browse files Browse the repository at this point in the history
…-disabled

fix: iwd has false value causing the redirect
  • Loading branch information
christian14b authored Sep 30, 2024
2 parents 74cac0b + 1d66315 commit 96181c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Checkout/CheckoutPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ export default {
// Don't fetch challenge status if IWD2024 experiment or Badge Experiment are enabled
// to avoid being redirected to the challenge thank you page
if (!this.iwdExpEnabled || !this.isTYBadgesExperimentActive()) {
if (!this.iwdExpEnabled && !this.isTYBadgesExperimentActive()) {
// Fetch Challenge Status
// If a loan in basket makes progress towards an active challenge,
// set query param to redirect to special thank you page
Expand Down

0 comments on commit 96181c7

Please sign in to comment.