Skip to content

Commit

Permalink
feat data
Browse files Browse the repository at this point in the history
  • Loading branch information
sansan88 committed Sep 4, 2023
1 parent 85f92c4 commit 3afe87d
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 410 deletions.
10 changes: 4 additions & 6 deletions src/app/pages/championship/championship/championship.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</ion-toolbar>
</ion-header>

<ng-container *ngIf="gamesList; else loading">
<ion-list>
<ion-list-header>
<ion-label>Kommende Spiele</ion-label>
Expand All @@ -29,7 +28,7 @@
</ion-label>
</ion-item>

<ion-item-sliding #item *ngFor="let game of gamesList">
<ion-item-sliding #item *ngFor="let game of gameList$ | async">
<ion-item>
<ion-icon
*ngIf="game.status === null"
Expand Down Expand Up @@ -103,9 +102,7 @@ <h3>
</ion-item-options>-->
</ion-item-sliding>
</ion-list>
</ng-container>

<ng-container *ngIf="gamesListPast">
<ion-list>
<ion-list-header>
<ion-label>Vergangene Spiele</ion-label>
Expand All @@ -118,7 +115,8 @@ <h3>
<p>Teilnehmer</p>
</ion-label>
</ion-item>
<ion-item-sliding #item *ngFor="let game of gamesListPast">

<ion-item-sliding #item *ngFor="let game of gameListPast$ | async">
<ion-item>
<ion-icon
*ngIf="game.status === null"
Expand Down Expand Up @@ -192,7 +190,7 @@ <h3>
</ion-item-options>-->
</ion-item-sliding>
</ion-list>
</ng-container>


<ng-template #loading>
<ion-list *ngIf="loading">
Expand Down
Loading

0 comments on commit 3afe87d

Please sign in to comment.