refactor(TournamentTab): move isEmptyThirdPlacePlaceholder method to methods section
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user