@nuskin/ns-shop 5.21.3 → 5.21.4
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/package.json
CHANGED
|
@@ -866,6 +866,7 @@ let setSelectedShipMethod = function(order, matchMethod = {}) {
|
|
|
866
866
|
* @param {Object} order
|
|
867
867
|
*/
|
|
868
868
|
function setPickupPoints(custom = [], order) {
|
|
869
|
+
custom = custom || [];
|
|
869
870
|
if (order.selectedShippingMethod && PickupUtil.supports(order.selectedShippingMethod.Code)) {
|
|
870
871
|
order.pickupPoints = PickupUtil.parse(custom);
|
|
871
872
|
if (order.selectedPickupPoint) {
|