Skip to content

Commit

Permalink
Change let directive to ngIf
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Jul 22, 2024
1 parent 2c0e92b commit 60f463f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
</div>

<ng-container *ngrxLet="platformService.getMe() as user">
<ng-container *ngIf="platformService.getMe() | async as user">
<div
*ngIf="user && user.name"
class="basis-1/12 mb-2 flex flex-col justify-center items-center"
Expand All @@ -23,7 +23,6 @@
class="w-10 h-10 flex justify-center items-center hover:cursor-pointer"
>
<gn-ui-user-preview
*ngIf="user && user.name"
[user]="user"
[avatarPlaceholder]="placeholder$ | async"
extraClass="w-10 h-10"
Expand Down

0 comments on commit 60f463f

Please sign in to comment.