@nuskin/ns-product-lib 2.6.0-cx24-3372.4 → 2.6.0-cx24-3372.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.6.0-cx24-3372.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3372.4...v2.6.0-cx24-3372.5) (2023-03-02)
2
+
3
+
4
+ ### Fix
5
+
6
+ * inventoryProperties atpQty ([3b271aa](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/3b271aa16960fbaaa2a68c08a2d1d1c93d54ec15))
7
+
1
8
  # [2.6.0-cx24-3372.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3372.3...v2.6.0-cx24-3372.4) (2023-03-02)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.6.0-cx24-3372.4",
3
+ "version": "2.6.0-cx24-3372.5",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -391,7 +391,7 @@ const ProductData = {
391
391
  }
392
392
  ],
393
393
  "scanQualified": data.properties.scanQualifiedCount,
394
- "availableQuantity": product.inventoryProperties.atpQty || 0,
394
+ "availableQuantity": (product.inventoryProperties) ? product.inventoryProperties.atpQty : 0,
395
395
  "maxQuantity": 999,
396
396
  "points": "",
397
397
  "cv": (product.priceFacets.CV) ? product.priceFacets.CV : '',