@infrab4a/connect-angular 4.2.11-beta.1 → 4.2.11-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.
|
@@ -2011,7 +2011,7 @@ class HomeShopService {
|
|
|
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({
|
|
2012
2012
|
filters: {
|
|
2013
2013
|
categories: { operator: Where.IN, value: [category.id] },
|
|
2014
|
-
gender: { operator: Where.
|
|
2014
|
+
...(gender ? { tags: { operator: Where.IN, value: [gender] } } : {}),
|
|
2015
2015
|
},
|
|
2016
2016
|
limits: { limit: 12 },
|
|
2017
2017
|
})).pipe(map((products) => ({ category, products })))), map(({ category, products }) => ({ category, products: products.data })), map(this.buildCategoryGroupWithRequiredData))))));
|
|
@@ -2035,7 +2035,7 @@ class HomeShopService {
|
|
|
2035
2035
|
})).pipe(tap(() => (this.homeConfiguration.data = data)), map(() => this.homeConfiguration));
|
|
2036
2036
|
}
|
|
2037
2037
|
get gender() {
|
|
2038
|
-
return this.homeId === 'mens_market' ? '
|
|
2038
|
+
return this.homeId === 'mens_market' ? 'masculino' : undefined;
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
2041
|
HomeShopService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: HomeShopService, deps: [{ token: 'CategoryRepository' }, { token: 'HomeRepository' }, { token: 'ProductRepository' }, { token: DEFAULT_SHOP }], target: i0.ɵɵFactoryTarget.Injectable });
|