@nuskin/cs-product-lib 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers.js +1 -1
package/package.json
CHANGED
package/src/helpers.js
CHANGED
|
@@ -500,7 +500,7 @@ function mapProductDetails(productOrVariant) {
|
|
|
500
500
|
}
|
|
501
501
|
let description = productDetails.long_description
|
|
502
502
|
if (!Array.isArray(description)) {
|
|
503
|
-
if (description?.uid) {
|
|
503
|
+
if (description?.uid && !(description?.children && description?.type)) {
|
|
504
504
|
description = null
|
|
505
505
|
} else {
|
|
506
506
|
description = createMarkdown(
|