72699: JSDocs

This commit is contained in:
Kristof De Langhe
2020-09-07 10:27:39 +02:00
parent b89c21ec3b
commit 4141ae7ad7

View File

@@ -19,6 +19,9 @@ export class AuthBlockingGuard implements CanActivate {
constructor(private store: Store<AppState>) { constructor(private store: Store<AppState>) {
} }
/**
* True when the authentication isn't blocking everything
*/
canActivate(): Observable<boolean> { canActivate(): Observable<boolean> {
return this.store.pipe(select(isAuthenticationBlocking)).pipe( return this.store.pipe(select(isAuthenticationBlocking)).pipe(
map((isBlocking: boolean) => isBlocking === false), map((isBlocking: boolean) => isBlocking === false),