From 2fbec61980417726351bbdb2bd0b4e5c7c6023d3 Mon Sep 17 00:00:00 2001 From: Jonas Stahl Date: Thu, 3 Oct 2024 20:22:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20some=20console=20logs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/src/backend/player.ts | 5 +---- .../app/src/components/items/SignUpDoubleDropdown.vue | 1 - frontend/app/src/components/items/SignUpDropdown.vue | 3 --- .../components/views/competitions/FormCompetition.vue | 1 - .../app/src/components/views/player/ViewPlayerForm.vue | 10 +++++----- .../components/views/tournaments/FormTournament.vue | 4 ++-- 6 files changed, 8 insertions(+), 16 deletions(-) diff --git a/frontend/app/src/backend/player.ts b/frontend/app/src/backend/player.ts index c10c9e15..d0a7a2ad 100644 --- a/frontend/app/src/backend/player.ts +++ b/frontend/app/src/backend/player.ts @@ -36,10 +36,7 @@ export function findCompPlayers( `/player/compFind/${route.params.tourId}/${route.params.compId}`, { params: { search: search.value.toLowerCase(), playerB: playerB } }, ) - .then((result) => { - console.log(result.data.map(playerServerToClient)) - return result.data.map(playerServerToClient) - }) + .then((result) => result.data.map(playerServerToClient)) .catch((error) => { toast.add({ severity: "error", diff --git a/frontend/app/src/components/items/SignUpDoubleDropdown.vue b/frontend/app/src/components/items/SignUpDoubleDropdown.vue index 4226f76e..6d9fb440 100644 --- a/frontend/app/src/components/items/SignUpDoubleDropdown.vue +++ b/frontend/app/src/components/items/SignUpDoubleDropdown.vue @@ -95,7 +95,6 @@ const { data: suggestionsPlayerB, isFetching: loadingB } = findCompPlayers( ) function queryPlayer(playerA: boolean, event: DropdownFilterEvent) { - console.log("event.value " + event.value) if (playerA) searchA.value = event.value else searchB.value = event.value } diff --git a/frontend/app/src/components/items/SignUpDropdown.vue b/frontend/app/src/components/items/SignUpDropdown.vue index 608e244a..5ab7ddc7 100644 --- a/frontend/app/src/components/items/SignUpDropdown.vue +++ b/frontend/app/src/components/items/SignUpDropdown.vue @@ -65,13 +65,10 @@ const { data: suggestionsPlayer, isFetching: loading } = findCompPlayers( ) function queryPlayer(event: DropdownFilterEvent) { - console.log("event.value " + event.value) search.value = event.value } function signUpPlayer() { - console.log(selectedPlayer.value) - console.log(props.isPlayerB) mutateSignUpSingle({ player: selectedPlayer, playerB: props.isPlayerB }) } diff --git a/frontend/app/src/components/views/competitions/FormCompetition.vue b/frontend/app/src/components/views/competitions/FormCompetition.vue index b056934d..45f79eb2 100644 --- a/frontend/app/src/components/views/competitions/FormCompetition.vue +++ b/frontend/app/src/components/views/competitions/FormCompetition.vue @@ -494,7 +494,6 @@ const { values, defineField, errors, handleSubmit } = useForm({ : new Date(), }, }) -console.log(values) const [name, nameAttrs] = defineField("name") const [description, descriptionAttrs] = defineField("description") diff --git a/frontend/app/src/components/views/player/ViewPlayerForm.vue b/frontend/app/src/components/views/player/ViewPlayerForm.vue index f354272c..9353d82c 100644 --- a/frontend/app/src/components/views/player/ViewPlayerForm.vue +++ b/frontend/app/src/components/views/player/ViewPlayerForm.vue @@ -6,9 +6,9 @@ }} {{ t("ViewPlayerRegistration.email.field") }} {{ t("ViewPlayerRegistration.phone.field") }} {{ t("general.name") }} {{ t("general.description") }}