mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
fixed build warn !wip
This commit is contained in:
parent
be848387e7
commit
6866289895
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ export class LoginComponent implements OnDestroy, OnInit {
|
||||||
|
|
||||||
if (this.authService.loggedIn()) {
|
if (this.authService.loggedIn()) {
|
||||||
this.ngOnDestroy();
|
this.ngOnDestroy();
|
||||||
this.oAuthWindow.close();
|
if(this.oAuthWindow) {
|
||||||
|
this.oAuthWindow.close();
|
||||||
|
}
|
||||||
this.router.navigate(["search"]);
|
this.router.navigate(["search"]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue