flip the authentication state #15
@@ -31,7 +31,7 @@ export class Authentication{
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isLoggedIn(): boolean {
|
get isLoggedIn(): boolean {
|
||||||
return this._user.value.id == null ? true : false;
|
return this._user.value.id != null ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
get loggedInUser(): Account {
|
get loggedInUser(): Account {
|
||||||
|
|||||||
Reference in New Issue
Block a user