Skip to content

Commit

Permalink
fix: globalLoading as observable (#219)
Browse files Browse the repository at this point in the history
* fix: ocxSrc directive with external image url, ocx slots

* fix: loading remote component

* fix: lint issues

* fix: componentType may be undefined

* fix: improve permission cache, use of ocxSrc, fix overflow of user avatar menu

* fix: no permissions flickering

* fix: hide app when globalLoading is true to avoid unwanted behavior when switching apps

* fix: globalLoading as observable

---------

Co-authored-by: kim.tran <[email protected]>
  • Loading branch information
KimFFVII and kim.tran authored Apr 12, 2024
1 parent 02b5bae commit 02aa501
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="layout-main">
<div class="layout-content relative">
<ocx-slot name="subHeader"></ocx-slot>
<ng-container *ngIf="(appStateService.globalLoading$ | async) === false">
<ng-container *ngIf="(appStateService.globalLoading$.asObservable() | async) === false">
<ng-content></ng-content>
<router-outlet></router-outlet>
</ng-container>
Expand Down

0 comments on commit 02aa501

Please sign in to comment.