@nuskin/ns-product-lib 2.5.0-cx24-2462.3.1 → 2.5.0-cx24-2462.3.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/productData.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [2.5.0-cx24-2462.3.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2462.3.2...v2.5.0-cx24-2462.3.3) (2022-11-16)
|
2
|
+
|
3
|
+
|
4
|
+
### Update
|
5
|
+
|
6
|
+
* map equinox properties (CX24-2462) ([406575c](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/406575c992b3aec9a0dda7d873624172f18ff9ae))
|
7
|
+
|
8
|
+
# [2.5.0-cx24-2462.3.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2462.3.1...v2.5.0-cx24-2462.3.2) (2022-11-16)
|
9
|
+
|
10
|
+
|
11
|
+
### Update
|
12
|
+
|
13
|
+
* map equinox properties (CX24-2462) ([dbfe9ed](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/dbfe9ed0a4bf5f06fd4f797fcb10f1c1246dacbd))
|
14
|
+
|
1
15
|
# [2.5.0-cx24-2462.3.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.4.2-CX24.2.1...v2.5.0-cx24-2462.3.1) (2022-11-15)
|
2
16
|
|
3
17
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -252,7 +252,7 @@ const ProductData = {
|
|
252
252
|
}
|
253
253
|
)) : [],
|
254
254
|
"thumbnail": thumbnailImage,
|
255
|
-
|
255
|
+
ingredients: mapIngredients(data.properties.ingredients),
|
256
256
|
benefits: mapBenefits(data.properties.benefits),
|
257
257
|
usage: mapUsage(data.properties.usage),
|
258
258
|
resources: mapResources(data.properties.resources),
|
@@ -434,7 +434,7 @@ function mapBenefits(benefits) {
|
|
434
434
|
}
|
435
435
|
|
436
436
|
function mapIngredients(ingredients) {
|
437
|
-
if (!
|
437
|
+
if (!ingredients) {
|
438
438
|
return {};
|
439
439
|
}
|
440
440
|
|