fabrikantencore 2.4.7 → 2.4.9

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.
@@ -10733,8 +10733,8 @@ class NavigateService {
10733
10733
  if (((_a = this.FabrikantenService.FabrikantenSettingsViewModel) === null || _a === void 0 ? void 0 : _a.customRedirect) == null || ((_b = this.FabrikantenService.FabrikantenSettingsViewModel) === null || _b === void 0 ? void 0 : _b.customRedirect) == "") {
10734
10734
  if (this.TranslateService.ActiveLanguage != null && this.FabrikantenService.FabrikantenViewModel != null) {
10735
10735
  if (this.FabrikantenService.ShowCategories()) {
10736
- this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'categories']);
10737
- this.StatisticsService.PageView("categories");
10736
+ //this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'categories']);
10737
+ //this.StatisticsService.PageView("categories");
10738
10738
  }
10739
10739
  else if (this.FabrikantenService.FabrikantenViewModel.selectedProduct != null) {
10740
10740
  this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'product', this.FabrikantenService.FabrikantenViewModel.selectedProduct.urlName]);
@@ -11679,7 +11679,9 @@ class FabrikantenService {
11679
11679
  ChangeDetectorRef.detectChanges();
11680
11680
  this.TriggerReloads(ChangeDetectorRef);
11681
11681
  if (this.ProcessParameters(ActivatedRoute, ChangeDetectorRef)) {
11682
- this.NavigateService.RefreshPage();
11682
+ if ((ActivatedRoute === null || ActivatedRoute === void 0 ? void 0 : ActivatedRoute.snapshot.paramMap.get("category")) == null || (ActivatedRoute === null || ActivatedRoute === void 0 ? void 0 : ActivatedRoute.snapshot.paramMap.get("category")) == "") {
11683
+ this.NavigateService.RefreshPage();
11684
+ }
11683
11685
  this.Loaded = true;
11684
11686
  }
11685
11687
  }, (error) => {