@infrab4a/connect-angular 4.12.1-beta.0 → 4.12.1-beta.2
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.
|
@@ -2251,10 +2251,10 @@ class HomeShopService {
|
|
|
2251
2251
|
return this.getHomeConfiguration().pipe(map((home) => home.minValueForFreeShipping));
|
|
2252
2252
|
}
|
|
2253
2253
|
getDiscoverProducts(gender) {
|
|
2254
|
-
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.discoverCategories,
|
|
2254
|
+
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.discoverCategories, this.defaultShop)).pipe(map((groups) => groups.map(this.buildCategoryGroupWithRequiredData)))));
|
|
2255
2255
|
}
|
|
2256
2256
|
getFeaturedProducts(gender) {
|
|
2257
|
-
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.featuredCategories,
|
|
2257
|
+
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.featuredCategories, this.defaultShop)).pipe(map((groups) => groups.map(this.buildCategoryGroupWithRequiredData)))));
|
|
2258
2258
|
}
|
|
2259
2259
|
getVerticalProducts(gender) {
|
|
2260
2260
|
return this.getHomeConfiguration().pipe(concatMap((home) => forkJoin(home.verticalCarousels.filter(Boolean).map((id) => from(this.categoryRepository.get({ id })).pipe(concatMap((category) => from(this.productRepository.find({
|