Only show divided events that have groups
This commit is contained in:
@@ -46,7 +46,9 @@
|
||||
</button>
|
||||
</mat-menu>
|
||||
</ng-template>
|
||||
<mat-card *ngFor="let event of tournament.events" appearance="outlined" class="m-3">
|
||||
@for (event of tournament.events; track event) {
|
||||
@if (event.groups.length > 0) {
|
||||
<mat-card appearance="outlined" class="m-3">
|
||||
<mat-card-header>
|
||||
<h6>Indeling {{ TournamentEvent.getType(event.type) }}</h6>
|
||||
</mat-card-header>
|
||||
@@ -84,6 +86,8 @@
|
||||
</mat-accordion>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
}
|
||||
</mat-tab>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user