@salesgenterp/ui-components 0.4.518 → 0.4.520
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 +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11704,7 +11704,7 @@ var Step2 = function Step2(_ref) {
|
|
|
11704
11704
|
if (option !== null && option !== void 0 && option.code && !(option !== null && option !== void 0 && option.parentShippingId)) {
|
|
11705
11705
|
(option === null || option === void 0 ? void 0 : option.id) === (expandCarrier === null || expandCarrier === void 0 ? void 0 : expandCarrier.id) ? setExpandCarrier(null) : setExpandCarrier(option);
|
|
11706
11706
|
} else {
|
|
11707
|
-
!(option !== null && option !== void 0 && option.
|
|
11707
|
+
!(option !== null && option !== void 0 && option.code) && setExpandCarrier(null);
|
|
11708
11708
|
setMethod(_extends({}, option, {
|
|
11709
11709
|
amount: option === null || option === void 0 ? void 0 : option.amount
|
|
11710
11710
|
}));
|
|
@@ -11762,8 +11762,11 @@ var Step2 = function Step2(_ref) {
|
|
|
11762
11762
|
parentShippingId: carrier === null || carrier === void 0 ? void 0 : carrier.id
|
|
11763
11763
|
}
|
|
11764
11764
|
})).then(function (data) {
|
|
11765
|
+
var _data$filter = data === null || data === void 0 ? void 0 : data.filter(function (item) {
|
|
11766
|
+
return (item === null || item === void 0 ? void 0 : item.amount) > 0;
|
|
11767
|
+
});
|
|
11765
11768
|
_exit = true;
|
|
11766
|
-
return
|
|
11769
|
+
return _data$filter;
|
|
11767
11770
|
});
|
|
11768
11771
|
}, function () {
|
|
11769
11772
|
var _temp = [];
|