Skip to content

Commit

Permalink
fix: update selected comms value check
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bedon committed Aug 16, 2024
1 parent b931839 commit 8517ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Checkout/CheckoutDropInPaymentWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export default {
// Set email updates based on comms preference MP-271
let { emailUpdates } = this;
if (this.enableRadioBtnExperiment) {
emailUpdates = this.selectedComms === '1';
emailUpdates = this.selectedComms === 'on';
}
this.$emit('opt-in', emailUpdates);
Expand Down

0 comments on commit 8517ecd

Please sign in to comment.