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

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.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
+
3
+
4
+ ### Fix
5
+
6
+ * inventoryProperties atpQty ([60ec521](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/60ec521223367abcd9570969c0e65522f76afe43))
7
+
1
8
  # [2.6.0-cx24-3372.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3372.2...v2.6.0-cx24-3372.3) (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.3",
3
+ "version": "2.6.0-cx24-3372.4",
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,
394
+ "availableQuantity": product.inventoryProperties.atpQty || 0,
395
395
  "maxQuantity": 999,
396
396
  "points": "",
397
397
  "cv": (product.priceFacets.CV) ? product.priceFacets.CV : '',