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.
@@ -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]);
@@ -11653,7 +11653,6 @@ class FabrikantenService {
11653
11653
  this.LoadFabrikantenViewModel(ChangeDetectorRef, null);
11654
11654
  }
11655
11655
  LoadFabrikantenViewModel(ChangeDetectorRef, ActivatedRoute) {
11656
- alert('test');
11657
11656
  if (!this.Init) {
11658
11657
  this.Loading = true;
11659
11658
  ChangeDetectorRef.detectChanges();
@@ -11680,9 +11679,7 @@ class FabrikantenService {
11680
11679
  ChangeDetectorRef.detectChanges();
11681
11680
  this.TriggerReloads(ChangeDetectorRef);
11682
11681
  if (this.ProcessParameters(ActivatedRoute, ChangeDetectorRef)) {
11683
- 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")) == "") {
11684
- this.NavigateService.RefreshPage();
11685
- }
11682
+ this.NavigateService.RefreshPage();
11686
11683
  this.Loaded = true;
11687
11684
  }
11688
11685
  }, (error) => {