@wizishop/angular-components 14.4.44 → 14.4.45

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.
@@ -2602,10 +2602,10 @@ class HeaderPageComponent {
2602
2602
  }
2603
2603
  }
2604
2604
  redirectToExternalLink() {
2605
- window.location.href = this.linkBack;
2605
+ window.location.href = this.linkBack[0];
2606
2606
  }
2607
2607
  redirectToInternalLink() {
2608
- this.router.navigateByUrl(this.linkBack);
2608
+ this.router.navigate(this.linkBack);
2609
2609
  }
2610
2610
  }
2611
2611
  HeaderPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: HeaderPageComponent, deps: [{ token: i1$3.Router }, { token: i1.Location }], target: i0.ɵɵFactoryTarget.Component });