Fixed build
This commit is contained in:
parent
2c1719ba05
commit
c733f38e7e
@ -15,7 +15,7 @@ export class LoginComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
firebaseApp.auth().onAuthStateChanged(user => {
|
firebaseApp.auth().onAuthStateChanged(user => {
|
||||||
if(!!user) let ignore = this.ngZone.run(() => this.router.navigate(['/dashboard']));
|
if(!!user) this.ngZone.run(() => this.router.navigate(['/dashboard']));
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user