Skip to content

Commit 4d50066

Browse files
committed
#13231: [GitHub] Default State or Province is not pre-selected in the Estimate Shipping and Tax
1 parent 5837d36 commit 4d50066

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/new-customer-address.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ define([
2121
regionId;
2222

2323
countryId = addressData['country_id'] || addressData.countryId;
24+
2425
if (countryId) {
2526
if (addressData.region && addressData.region['region_id']) {
2627
regionId = addressData.region['region_id'];
27-
} else if(countryId == window.checkoutConfig.defaultCountryId) {
28+
} else if(countryId === window.checkoutConfig.defaultCountryId) {
2829
regionId = window.checkoutConfig.defaultRegionId;
2930
}
3031
} else {

0 commit comments

Comments
 (0)