fixed build warn !wip

pull/3200/head
tidusjar 5 years ago
parent be848387e7
commit 6866289895

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

Loading…
Cancel
Save