@infrab4a/connect-angular 4.2.11-beta.2 → 4.2.11-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.
|
@@ -2002,10 +2002,10 @@ class HomeShopService {
|
|
|
2002
2002
|
return this.getHomeConfiguration().pipe(map((home) => home.minValueForFreeShipping));
|
|
2003
2003
|
}
|
|
2004
2004
|
getDiscoverProducts(gender) {
|
|
2005
|
-
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.discoverCategories, undefined,
|
|
2005
|
+
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.discoverCategories, undefined, 'masculino')).pipe(map((groups) => groups.map(this.buildCategoryGroupWithRequiredData)))));
|
|
2006
2006
|
}
|
|
2007
2007
|
getFeaturedProducts(gender) {
|
|
2008
|
-
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.featuredCategories, undefined,
|
|
2008
|
+
return this.getHomeConfiguration().pipe(concatMap((home) => from(this.categoryRepository.getCategoriesForHome(home.featuredCategories, undefined, 'masculino')).pipe(map((groups) => groups.map(this.buildCategoryGroupWithRequiredData)))));
|
|
2009
2009
|
}
|
|
2010
2010
|
getVerticalProducts(gender) {
|
|
2011
2011
|
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({
|