@nuskin/ns-product-lib 2.6.1-cx24-3608.3 → 2.6.1-cx24-3608.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/productData.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [2.6.1-cx24-3608.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-3608.3...v2.6.1-cx24-3608.4) (2023-03-15)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* imageURL issue when product is kit ([0bde1fb](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/0bde1fb0ce99186a30859c2f3509d32c1861cf7b))
|
7
|
+
* imageURL issue when product is kit ([e302726](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e30272648ad6214c0dca08f40a6a3f5511c661cd))
|
8
|
+
|
1
9
|
## [2.6.1-cx24-3608.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-3608.2...v2.6.1-cx24-3608.3) (2023-03-15)
|
2
10
|
|
3
11
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -133,7 +133,7 @@ const ProductData = {
|
|
133
133
|
const regex = /\d+\.\d+/
|
134
134
|
let thumbnailImage = ''
|
135
135
|
|
136
|
-
if (imageURL) {
|
136
|
+
if (imageURL !== "") {
|
137
137
|
if (imageURL.includes('contentstack')) {
|
138
138
|
thumbnailImage = imageURL + '?width=40'
|
139
139
|
} else {
|
@@ -357,7 +357,7 @@ const ProductData = {
|
|
357
357
|
const regex = /\d+\.\d+/
|
358
358
|
let thumbnailImage = ''
|
359
359
|
|
360
|
-
if (imageURL) {
|
360
|
+
if (imageURL !== "") {
|
361
361
|
if (imageURL.includes('contentstack')) {
|
362
362
|
thumbnailImage = imageURL + '?width=40'
|
363
363
|
} else {
|