From 31bcaa0877b4182cf5c26bb7f109c48041a53dbc Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Wed, 16 Sep 2026 07:15:24 +0200 Subject: [PATCH] refactor(TournamentTab): move isEmptyThirdPlacePlaceholder method to methods section --- frontend/src/views/TournamentTab.vue | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/frontend/src/views/TournamentTab.vue b/frontend/src/views/TournamentTab.vue index cd21eca1..93f34a7f 100755 --- a/frontend/src/views/TournamentTab.vue +++ b/frontend/src/views/TournamentTab.vue @@ -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();