refactor(TournamentTab): move isEmptyThirdPlacePlaceholder method to methods section
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s

This commit is contained in:
Torsten Schulz (local)
2026-09-16 07:15:24 +02:00
parent 47bbc0d766
commit 31bcaa0877

View File

@@ -406,16 +406,6 @@ export default {
});
},
isEmptyThirdPlacePlaceholder(match) {
return match
&& String(match.round || '').includes('Spiel um Platz 3')
&& !match.player1Id
&& !match.player2Id
&& !match.player1
&& !match.player2
&& !match.result;
},
// Computed property für aktive Gruppentabellen-Zellen
activeGroupCells() {
if (!this.activeMatchId) return [];
@@ -1000,6 +990,15 @@ export default {
disconnectSocket();
},
methods: {
isEmptyThirdPlacePlaceholder(match) {
return match
&& String(match.round || '').includes('Spiel um Platz 3')
&& !match.player1Id
&& !match.player2Id
&& !match.player1
&& !match.player2
&& !match.result;
},
// Fallback-Kompatibilität: einige Aufrufe erwarten loadParticipants()
async loadParticipants() {
await this.loadTournamentData();