rerobe-js-orm 3.0.18 → 3.0.20
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.
|
@@ -9,8 +9,8 @@ exports.PRODUCT_STATES = {
|
|
|
9
9
|
hold: 'HOLD',
|
|
10
10
|
draft: 'DRAFT',
|
|
11
11
|
accepted: 'ACCEPTED',
|
|
12
|
-
sellerToDropOff: '
|
|
13
|
-
sellerToShip: '
|
|
12
|
+
sellerToDropOff: 'SELLER_TO_DROP_OFF',
|
|
13
|
+
sellerToShip: 'SELLER_TO_SHIP',
|
|
14
14
|
sellerToGetPickUp: 'AT_HOME_PICK_UP',
|
|
15
15
|
qualityControl: 'QUALITY_CONTROL',
|
|
16
16
|
pendingPublication: 'PENDING_PUBLICATION',
|
|
@@ -455,7 +455,7 @@ class ReRobeProductHelpers {
|
|
|
455
455
|
}
|
|
456
456
|
static mapToOldSizesToStandardSize(productObj) {
|
|
457
457
|
const { clothingSize = [], jeanSize = '', shoeSize = '' } = productObj;
|
|
458
|
-
const validSizes = clothingSize.filter((size) =>
|
|
458
|
+
const validSizes = clothingSize.filter((size) => size);
|
|
459
459
|
if (jeanSize)
|
|
460
460
|
validSizes.push(jeanSize);
|
|
461
461
|
if (shoeSize)
|