fabrikantencore 2.6.1 → 2.6.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.
@@ -10710,8 +10710,8 @@ class NavigateService {
10710
10710
  if (this.FabrikantenService.FabrikantenSettingsViewModel?.customRedirect == null || this.FabrikantenService.FabrikantenSettingsViewModel?.customRedirect == "") {
10711
10711
  if (this.TranslateService.ActiveLanguage != null && this.FabrikantenService.FabrikantenViewModel != null) {
10712
10712
  if (this.FabrikantenService.ShowCategories()) {
10713
- //this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'categories']);
10714
- //this.StatisticsService.PageView("categories");
10713
+ this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'categories']);
10714
+ this.StatisticsService.PageView("categories");
10715
10715
  }
10716
10716
  else if (this.FabrikantenService.FabrikantenViewModel.selectedProduct != null) {
10717
10717
  this.Router.navigate(['/', this.TranslateService.ActiveLanguage.countryCode, 'product', this.FabrikantenService.FabrikantenViewModel.selectedProduct.urlName]);
@@ -11618,7 +11618,6 @@ class FabrikantenService {
11618
11618
  this.LoadFabrikantenViewModel(ChangeDetectorRef, null);
11619
11619
  }
11620
11620
  LoadFabrikantenViewModel(ChangeDetectorRef, ActivatedRoute) {
11621
- alert('test');
11622
11621
  if (!this.Init) {
11623
11622
  this.Loading = true;
11624
11623
  ChangeDetectorRef.detectChanges();
@@ -11645,9 +11644,7 @@ class FabrikantenService {
11645
11644
  ChangeDetectorRef.detectChanges();
11646
11645
  this.TriggerReloads(ChangeDetectorRef);
11647
11646
  if (this.ProcessParameters(ActivatedRoute, ChangeDetectorRef)) {
11648
- if (ActivatedRoute?.snapshot.paramMap.get("category") == null || ActivatedRoute?.snapshot.paramMap.get("category") == "") {
11649
- this.NavigateService.RefreshPage();
11650
- }
11647
+ this.NavigateService.RefreshPage();
11651
11648
  this.Loaded = true;
11652
11649
  }
11653
11650
  }, (error) => {