fixed build warn !wip

This commit is contained in:
tidusjar 2019-09-25 13:10:41 +01:00
commit 6866289895

View file

@ -157,7 +157,9 @@ export class LoginComponent implements OnDestroy, OnInit {
if (this.authService.loggedIn()) {
this.ngOnDestroy();
if(this.oAuthWindow) {
this.oAuthWindow.close();
}
this.router.navigate(["search"]);
return;
}