@infrab4a/connect-angular 4.3.12-beta.2 → 4.3.12-beta.3
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/esm2020/services/catalog/adapters/new-category-structure.adapter.mjs +3 -1
- package/fesm2015/infrab4a-connect-angular.mjs +2 -0
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +2 -0
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1540,6 +1540,7 @@ class NewCategoryStructureAdapter {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
async buildProductFilterByCategory(category) {
|
|
1542
1542
|
const loadedCategory = await this.getCategory(category);
|
|
1543
|
+
console.log('loadedCategory', loadedCategory);
|
|
1543
1544
|
if (loadedCategory.isCollection)
|
|
1544
1545
|
return { id: { operator: Where.IN, value: loadedCategory.products } };
|
|
1545
1546
|
const categoryIds = [...(await this.getAllCategoriesIdFromCategory(category)), category.id.toString()];
|
|
@@ -1563,6 +1564,7 @@ class NewCategoryStructureAdapter {
|
|
|
1563
1564
|
!category.products?.length ||
|
|
1564
1565
|
category.isWishlist ||
|
|
1565
1566
|
category.brandCategory;
|
|
1567
|
+
console.log('getCategory', category, collectionCategory);
|
|
1566
1568
|
// return isNil(category.isCollection) || (category.isCollection && !category.products?.length)
|
|
1567
1569
|
// ? this.categoryRepository.get({ id: category.id })
|
|
1568
1570
|
// : category
|