From 527c9b74289e54c9ca38fb286317c02c8b89a78b Mon Sep 17 00:00:00 2001 From: Pascal Syma Date: Sun, 14 Sep 2025 17:57:24 +0200 Subject: [PATCH] Reduce min name length --- app/components/TeamAddModal.vue | 20 +++++++++++++++++++- app/composables/useValidation.ts | 7 +++++++ app/pages/register.vue | 4 ++-- server/api/auth/register.post.ts | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/app/components/TeamAddModal.vue b/app/components/TeamAddModal.vue index 83224f1..6930fb4 100644 --- a/app/components/TeamAddModal.vue +++ b/app/components/TeamAddModal.vue @@ -2,6 +2,7 @@ import { parseError } from '#shared/utils/error'; const { t } = useI18n(); +const validation = useValidation(); const emits = defineEmits<{ update: []; }>(); @@ -47,6 +48,7 @@ async function submit() { } pending.value = false; } +// TODO: translate