@infrab4a/connect-angular 4.1.0 → 4.1.1

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.
@@ -1851,6 +1851,13 @@ class UtilHelper {
1851
1851
  }
1852
1852
 
1853
1853
  class HomeShopService {
1854
+ get homeId() {
1855
+ if (this.defaultShop === Shops.GLAMSHOP)
1856
+ return 'glamshop';
1857
+ if (this.defaultShop === Shops.MENSMARKET)
1858
+ return 'mens_market';
1859
+ return null;
1860
+ }
1854
1861
  constructor(categoryRepository, homeRepository, productRepository, defaultShop) {
1855
1862
  this.categoryRepository = categoryRepository;
1856
1863
  this.homeRepository = homeRepository;
@@ -1876,13 +1883,6 @@ class HomeShopService {
1876
1883
  ]))) || [],
1877
1884
  });
1878
1885
  }
1879
- get homeId() {
1880
- if (this.defaultShop === Shops.GLAMSHOP)
1881
- return 'glamshop';
1882
- if (this.defaultShop === Shops.MENSMARKET)
1883
- return 'mens_market';
1884
- return null;
1885
- }
1886
1886
  getHomeData() {
1887
1887
  return this.getHomeConfiguration().pipe(map((home) => (home?.data?.expiresAt > new Date() ? home : null)), concatMap((home) => home
1888
1888
  ? of(home)