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') }}