Skip to content

Commit

Permalink
[5.3] MSTR-326: Do not require billing address when updating the time…
Browse files Browse the repository at this point in the history
…zone/language in accounts (#1248)
  • Loading branch information
pcandia committed Oct 28, 2024
1 parent 704dd18 commit fb33bed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/apps/myaccount/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,9 @@ define(function(require) {
}
}
} else if (type === 'account') {
delete params.data.contact.billing.region_select;
if (_.get(params.data, 'contact.billing.region_select')) {
delete params.data.contact.billing.region_select;
}

if (_.get(params.data, ['braintree', 'surcharge_accepted'], '') === '') {
_.unset(params.data, 'braintree');
Expand Down

0 comments on commit fb33bed

Please sign in to comment.