Update RedirectComponent to use window.location.href for external navigation instead of router.navigateByUrl.
This commit is contained in:
1 parent
19bc6fc8e3
commit
5d9bf922a4
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user