@nuskin/ns-product-lib 2.8.0-cx24-3705.1 → 2.8.0-cx24-3705.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/productData.js +3 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.8.0-cx24-3705.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.8.0-cx24-3705.1...v2.8.0-cx24-3705.2) (2023-04-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Update
|
5
|
+
|
6
|
+
* setting correct title if multiple variants ([583e74d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/583e74d41acc7213cd86a48df9076a453da8bb93))
|
7
|
+
|
1
8
|
# [2.8.0-cx24-3705.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0...v2.8.0-cx24-3705.1) (2023-04-14)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -373,7 +373,9 @@ const ProductData = {
|
|
373
373
|
return variant;
|
374
374
|
});
|
375
375
|
const productArr = productData.sku.filter(p => p.default === true)
|
376
|
-
productTitle = productArr[0].properties.name
|
376
|
+
productTitle = productArr[0].properties.name;
|
377
|
+
product = productArr[0]
|
378
|
+
|
377
379
|
}
|
378
380
|
|
379
381
|
const {
|