Update RedirectComponent to use window.location.href for external navigation instead of router.navigateByUrl.
This commit is contained in:
parent
19bc6fc8e3
commit
5d9bf922a4
|
|
@ -25,7 +25,7 @@ export class RedirectComponent implements OnInit {
|
|||
if (type) {
|
||||
const target = this.getRedirectTarget(type);
|
||||
if (target) {
|
||||
this.router.navigateByUrl(target).then();
|
||||
window.location.href = target;
|
||||
} else {
|
||||
this.router.navigate(['/']).then();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user