From 4f8e2fee89fb5796529ed670a3f9c95fb497197d Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Wed, 8 Apr 2026 15:02:09 +0200 Subject: [PATCH] refactor(TournamentStats): remove InternalTournamentStats dialog and streamline state management - Removed the InternalTournamentStats component from App.vue and its associated state management in Vuex. - Updated the DialogManager to include InternalTournamentStats, allowing for better dialog handling. - Refactored the TournamentsView to utilize a new method for opening the InternalTournamentStats dialog. - Enhanced the InternalTournamentStats component by simplifying its template and removing unnecessary props and methods. - Improved the logic for displaying tournament statistics based on club selection, ensuring a cleaner user experience. --- frontend/src/App.vue | 23 -------- frontend/src/components/DialogManager.vue | 9 ++- .../tournament/InternalTournamentStats.vue | 55 ++++++------------- frontend/src/store.js | 12 ++-- frontend/src/views/TeamManagementView.vue | 28 +++++++--- frontend/src/views/TournamentsView.vue | 15 ++++- 6 files changed, 60 insertions(+), 82 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 79055271..799e54a5 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -181,11 +181,6 @@ - -