@infrab4a/connect-angular 4.12.0-beta.0 → 4.12.0

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.
@@ -1143,7 +1143,7 @@ class CouponService {
1143
1143
  return false;
1144
1144
  }
1145
1145
  async hasProductCategories(coupon, checkout) {
1146
- if (!coupon.productsCategories || !coupon.productsCategories.length) {
1146
+ if (!coupon.productsCategories || !coupon.productsCategories?.length) {
1147
1147
  return true;
1148
1148
  }
1149
1149
  const couponCategories = await this.getCouponCategoriesId(coupon.productsCategories);