fix(TournamentPlacementsTab): update placement display logic to avoid duplicate positions
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 56s

This commit is contained in:
Torsten Schulz (local)
2026-09-16 09:50:57 +02:00
parent 6c05086618
commit fc8c1a28c9

View File

@@ -26,7 +26,9 @@
</thead>
<tbody>
<tr v-for="(entry, entryIdx) in classPlacements" :key="`final-${classId}-${entryIdx}`">
<td class="col-place">{{ entry.position }}.</td>
<td class="col-place">
{{ entryIdx === 0 || classPlacements[entryIdx - 1].position !== entry.position ? `${entry.position}.` : '' }}
</td>
<td>
<span
class="player-name-clickable"
@@ -827,4 +829,3 @@ table thead th:first-child,
table tbody td:first-child {
width: 4em;
}