@nuskin/ns-product-lib 2.17.4 → 2.17.6
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
});
|