Erweiterung der Teamformatierungsfunktionen um Altersgruppen für bessere Anzeige in Spielplänen
This commit is contained in:
@@ -58,9 +58,9 @@
|
||||
</p>
|
||||
</div>
|
||||
<p class="text-sm text-gray-800">
|
||||
{{ formatMatchTeamName(game.HeimMannschaft, game.HeimMannschaftAltersklasse) }}
|
||||
{{ formatMatchTeamName(game.HeimMannschaft, game.HeimMannschaftAltersklasse, game.Altersklasse) }}
|
||||
vs
|
||||
{{ formatMatchTeamName(game.GastMannschaft, game.GastMannschaftAltersklasse) }}
|
||||
{{ formatMatchTeamName(game.GastMannschaft, game.GastMannschaftAltersklasse, game.Altersklasse) }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -97,8 +97,8 @@ const widgetTitle = computed(() => {
|
||||
return formatTeamDisplayName(props.teamName, props.teamAgeGroup)
|
||||
})
|
||||
|
||||
function formatMatchTeamName(teamName, teamAgeGroup) {
|
||||
return formatTeamDisplayName(teamName, teamAgeGroup) || '-'
|
||||
function formatMatchTeamName(teamName, teamAgeGroup, competitionAgeGroup) {
|
||||
return formatTeamDisplayName(teamName, teamAgeGroup, competitionAgeGroup) || '-'
|
||||
}
|
||||
|
||||
const seasonLabel = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user