Skip to content

Commit

Permalink
Fixed - Default tax region/state appears in customer & order data mag…
Browse files Browse the repository at this point in the history
  • Loading branch information
nirav-kadiya committed Oct 27, 2018
1 parent 4421098 commit 5a84c5a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ define([
if (countryId) {
if (addressData.region && addressData.region['region_id']) {
regionId = addressData.region['region_id'];
} else if (!addressData['region_id']) {
regionId = null;
} else if (countryId === window.checkoutConfig.defaultCountryId) {
regionId = window.checkoutConfig.defaultRegionId;
}
Expand Down

0 comments on commit 5a84c5a

Please sign in to comment.