@nuskin/ns-product-lib 2.17.4 → 2.17.6
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/graph-ql/product.js +1 -1
- package/src/product.js +1 -1
package/package.json
CHANGED
package/src/graph-ql/product.js
CHANGED
package/src/product.js
CHANGED
@@ -393,7 +393,7 @@ const Product = function (productData) {
|
|
393
393
|
Object.keys(this.priceMap).forEach(priceTypeKey => {
|
394
394
|
const eventPriceType = priceTypeKey.substring(0, priceTypeKey.indexOf(`-${this.priceType}`));
|
395
395
|
|
396
|
-
if (eventPriceType) {
|
396
|
+
if (eventPriceType && this.priceMap[eventPriceType]) {
|
397
397
|
eventPriceTypes.push(eventPriceType);
|
398
398
|
}
|
399
399
|
});
|