Skip to content

Commit

Permalink
moved else template to the parent element
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianS23 committed Jul 22, 2024
1 parent 50962a6 commit 24ac972
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ng-container *ngIf="favoriteWorkshopsCard$ | async as favoriteWorkshopsCard">
<ng-container *ngIf="favoriteWorkshopsCard.totalAmount; else isEmptyList">
<ng-container *ngIf="favoriteWorkshopsCard$ | async as favoriteWorkshopsCard; else isEmptyList">
<ng-container>
<div class="card-wrapper">
<app-workshop-card class="card" *ngFor="let workshop of favoriteWorkshopsCard.entities" [workshop]="workshop"> </app-workshop-card>
</div>
Expand Down

0 comments on commit 24ac972

Please sign in to comment.