Add tournament name column to OfficialTournaments view. Update data structure to include tournament names for better clarity in participation details.
This commit is contained in:
@@ -364,6 +364,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Mitglied</th>
|
||||
<th>Turnier</th>
|
||||
<th>Konkurrenz</th>
|
||||
<th>Datum</th>
|
||||
<th>Platzierung</th>
|
||||
@@ -372,6 +373,7 @@
|
||||
<tbody>
|
||||
<tr v-for="row in clubParticipationRows()" :key="row.key">
|
||||
<td>{{ row.memberName }}</td>
|
||||
<td>{{ row.tournamentName }}</td>
|
||||
<td>{{ row.competitionName }}</td>
|
||||
<td>{{ row.date }}</td>
|
||||
<td>{{ row.placement || '–' }}</td>
|
||||
@@ -836,6 +838,7 @@ export default {
|
||||
rows.push({
|
||||
key: `club-${t.tournamentId}-${e.competitionId}-${e.memberId}`,
|
||||
memberName: e.memberName,
|
||||
tournamentName: t.tournamentName || t.title || `Turnier #${t.tournamentId}`,
|
||||
competitionName: e.competitionName,
|
||||
date: e.date || t.startDate || '–',
|
||||
placement: e.placement || null,
|
||||
|
||||
Reference in New Issue
Block a user