72699: isAuthBlocking$ rename to isNotAuthBlocking$

This commit is contained in:
Kristof De Langhe
2020-09-03 13:32:13 +02:00
parent 3d08eb0ae1
commit 5e970bcff2
2 changed files with 4 additions and 4 deletions

View File

@@ -53,9 +53,9 @@ export class AppComponent implements OnInit, AfterViewInit {
models;
/**
* Whether or not the authenticated has finished loading
* Whether or not the authentication is currently blocking the UI
*/
isAuthBlocking$: Observable<boolean>;
isNotAuthBlocking$: Observable<boolean>;
constructor(
@Inject(NativeWindowService) private _window: NativeWindowRef,
@@ -94,7 +94,7 @@ export class AppComponent implements OnInit, AfterViewInit {
}
ngOnInit() {
this.isAuthBlocking$ = this.store.pipe(select(isAuthenticationBlocking)).pipe(
this.isNotAuthBlocking$ = this.store.pipe(select(isAuthenticationBlocking)).pipe(
map((isBlocking: boolean) => isBlocking === false),
distinctUntilChanged()
);