Only show divided events that have groups

This commit is contained in:
Michel ten Voorde
2024-10-30 11:44:07 +01:00
parent 5689b60b60
commit e654a103f9

View File

@@ -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>
}