Skip to content

Commit 2854a1e

Browse files
committed
Fixed - Default tax region/state appears in customer & order data
1 parent 350b56c commit 2854a1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ define([
2222

2323
if (addressData.region && addressData.region['region_id']) {
2424
regionId = addressData.region['region_id'];
25+
} else if (!addressData['region_id']) {
26+
regionId = undefined;
2527
} else if (
2628
/* eslint-disable */
2729
addressData['country_id'] && addressData['country_id'] == window.checkoutConfig.defaultCountryId ||

0 commit comments

Comments
 (0)