From baca5415c3019fd28fd41802cffd4abd20c0cf5a Mon Sep 17 00:00:00 2001
From: Pascal Syma
Date: Thu, 16 Oct 2025 20:44:52 +0200
Subject: [PATCH] Fix type errors
---
app/components/LangSwitcher.vue | 3 +-
app/layouts/default.vue | 38 +++++++++----------
.../hunt/[huntSlug]/[questSlug]/admin.vue | 3 +-
.../hunt/[huntSlug]/[questSlug]/index.vue | 6 ++-
app/pages/hunt/[huntSlug]/diashow.vue | 6 ++-
app/pages/hunt/[huntSlug]/index.vue | 20 +++++-----
app/pages/hunt/[huntSlug]/pictures.vue | 6 ++-
app/pages/hunt/[huntSlug]/showcase.vue | 4 +-
app/pages/index.vue | 7 ++--
app/pages/login.vue | 2 +-
app/pages/profile.vue | 2 +-
app/pages/register.vue | 2 +-
12 files changed, 56 insertions(+), 43 deletions(-)
diff --git a/app/components/LangSwitcher.vue b/app/components/LangSwitcher.vue
index 97bcf67..e5131e6 100644
--- a/app/components/LangSwitcher.vue
+++ b/app/components/LangSwitcher.vue
@@ -1,6 +1,7 @@
@@ -26,7 +27,7 @@ watch(loggedIn, () => refresh());
v-for="hunt in data.own"
:key="hunt.id"
stripe
- :to="$localePath(`/hunt/${tSluggy(hunt).value}`)"
+ :to="localePath(`/hunt/${tSluggy(hunt).value}`)"
>
{{ tKey(hunt, 'name') }}
@@ -72,7 +73,7 @@ watch(loggedIn, () => refresh());
class="mt-6"
color="info"
icon="login"
- :to="$localePath(`/login`)"
+ :to="localePath(`/login`)"
>{{ t('page.home.login_first') }}
@@ -85,7 +86,7 @@ watch(loggedIn, () => refresh());
{{ tKey(hunt, 'name') }}
{{ t('auth.register_instead') }}
{{ t('auth.login_instead') }}