@infrab4a/connect-angular 4.3.6-beta.4 → 4.3.6-beta.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.
@@ -1291,7 +1291,6 @@ class CartService {
1291
1291
  isSubscriber: checkout.user?.isSubscriber,
1292
1292
  });
1293
1293
  RoundProductPricesHelper.roundProductPrices(item);
1294
- console.log('buildLineItem', product.name, pricePaid);
1295
1294
  return {
1296
1295
  checkout,
1297
1296
  lineItem: LineItem.toInstance({
@@ -1769,7 +1768,7 @@ class CategoryService {
1769
1768
  .findCatalog({
1770
1769
  filters: await this.categoryStructureAdapter.buildProductFilterByCategory(category),
1771
1770
  fields: ['brand'],
1772
- }, options?.mainGender || this.shop === Shops.MENSMARKET ? 'male' : 'female')
1771
+ }, options?.mainGender ? options?.mainGender : this.shop === Shops.MENSMARKET ? 'male' : 'female')
1773
1772
  .then(({ data }) => Object.keys(data.map((product) => product.brand).reduce((brands, brand) => ({ ...brands, [brand]: true }), {})));
1774
1773
  return this.categoryRepository
1775
1774
  .find({ filters: { brandCategory: true, shop: options?.shop || this.shop }, orderBy: { name: 'asc' } })