From e654a103f9d7a849eee4cb57a0eabacb829a9e9d Mon Sep 17 00:00:00 2001 From: Michel ten Voorde Date: Wed, 30 Oct 2024 11:44:07 +0100 Subject: [PATCH] Only show divided events that have groups --- .../tournament-manage.component.html | 80 ++++++++++--------- 1 file changed, 42 insertions(+), 38 deletions(-) diff --git a/src/app/components/tournament-manage/tournament-manage.component.html b/src/app/components/tournament-manage/tournament-manage.component.html index 46507d5..4559d86 100644 --- a/src/app/components/tournament-manage/tournament-manage.component.html +++ b/src/app/components/tournament-manage/tournament-manage.component.html @@ -46,44 +46,48 @@ - - -
Indeling {{ TournamentEvent.getType(event.type) }}
-
- - - - - - {{ group.name }} {{ group.teams.length }} - - - - - - - - - - - - - - - - - - - - - - - -
NaamClubSpeelsterktePartnerClubSpeelsterkte
{{ team.player1 | fullName }}{{ team.player1.club }}{{ getStrength(team.player1.strength.valueOf()) }}{{ team.player2 | fullName }}{{ team.player2?.club }}{{ getStrength(team.player2?.strength?.valueOf()) }}
-
-
-
-
+ @for (event of tournament.events; track event) { + @if (event.groups.length > 0) { + + +
Indeling {{ TournamentEvent.getType(event.type) }}
+
+ + + + + + {{ group.name }} {{ group.teams.length }} + + + + + + + + + + + + + + + + + + + + + + + +
NaamClubSpeelsterktePartnerClubSpeelsterkte
{{ team.player1 | fullName }}{{ team.player1.club }}{{ getStrength(team.player1.strength.valueOf()) }}{{ team.player2 | fullName }}{{ team.player2?.club }}{{ getStrength(team.player2?.strength?.valueOf()) }}
+
+
+
+
+ } + } }