Skip to content

Commit

Permalink
72699: isAuthBlocking$ rename to isNotAuthBlocking$
Browse files Browse the repository at this point in the history
  • Loading branch information
Atmire-Kristof committed Sep 3, 2020
1 parent 3d08eb0 commit 5e970bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
@@ -1,4 +1,4 @@
<div class="outer-wrapper" *ngIf="isAuthBlocking$ | async; else authLoader">
<div class="outer-wrapper" *ngIf="isNotAuthBlocking$ | async; else authLoader">
<ds-admin-sidebar></ds-admin-sidebar>
<div class="inner-wrapper" [@slideSidebarPadding]="{
value: (!(sidebarVisible | async) ? 'hidden' : (slideSidebarOver | async) ? 'shown' : 'expanded'),
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.component.ts
Expand Up @@ -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,
Expand Down Expand Up @@ -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()
);
Expand Down

0 comments on commit 5e970bc

Please sign in to comment.