@salesgenterp/ui-components 0.4.504 → 0.4.505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11400,7 +11400,8 @@ var Step1 = function Step1(_ref) {
|
|
|
11400
11400
|
styles = _ref.styles,
|
|
11401
11401
|
setShippingAddressId = _ref.setShippingAddressId,
|
|
11402
11402
|
customer = _ref.customer,
|
|
11403
|
-
billingAddressId = _ref.billingAddressId
|
|
11403
|
+
billingAddressId = _ref.billingAddressId,
|
|
11404
|
+
disabledAddAddressOption = _ref.disabledAddAddressOption;
|
|
11404
11405
|
var _useState = React.useState(false),
|
|
11405
11406
|
showShipping = _useState[0],
|
|
11406
11407
|
setShowShipping = _useState[1];
|
|
@@ -11412,13 +11413,13 @@ var Step1 = function Step1(_ref) {
|
|
|
11412
11413
|
var addressList = [];
|
|
11413
11414
|
if (customer !== null && customer !== void 0 && (_customer$customerDto = customer.customerDto) !== null && _customer$customerDto !== void 0 && _customer$customerDto.customerStoreAddressList) {
|
|
11414
11415
|
var _customer$customerDto2;
|
|
11415
|
-
addressList = [].concat(customer === null || customer === void 0 ? void 0 : (_customer$customerDto2 = customer.customerDto) === null || _customer$customerDto2 === void 0 ? void 0 : _customer$customerDto2.customerStoreAddressList, [{
|
|
11416
|
-
address1: 'Add
|
|
11416
|
+
addressList = [].concat(customer === null || customer === void 0 ? void 0 : (_customer$customerDto2 = customer.customerDto) === null || _customer$customerDto2 === void 0 ? void 0 : _customer$customerDto2.customerStoreAddressList, disabledAddAddressOption ? [] : [{
|
|
11417
|
+
address1: 'Add Billing Address',
|
|
11417
11418
|
id: 99999999
|
|
11418
11419
|
}]);
|
|
11419
11420
|
} else {
|
|
11420
|
-
addressList = [{
|
|
11421
|
-
address1: 'Add
|
|
11421
|
+
addressList = disabledAddAddressOption ? [] : [{
|
|
11422
|
+
address1: 'Add Billing Address',
|
|
11422
11423
|
id: 99999999
|
|
11423
11424
|
}];
|
|
11424
11425
|
}
|