fix: fix wrong label for "compose" nav button

This commit is contained in:
TAKAHASHI Shuuji 2025-01-04 17:58:16 +09:00
parent 58c8aff782
commit 7ab0c1e92c

View file

@ -9,7 +9,7 @@ const hideLabel = useHideBottomNavigationLabel()
<template> <template>
<NuxtLink <NuxtLink
to="/compose" to="/compose"
:aria-label="$t('nav.favourites')" :aria-label="$t('nav.compose')"
:active-class="activeClass" :active-class="activeClass"
flex flex-col items-center place-content-center h-full flex-1 min-w-0 flex flex-col items-center place-content-center h-full flex-1 min-w-0
class="coarse-pointer:select-none" class="coarse-pointer:select-none"
@ -17,6 +17,6 @@ const hideLabel = useHideBottomNavigationLabel()
@click="$scrollToTop" @click="$scrollToTop"
> >
<div aria-hidden="true" i-ri:quill-pen-line /> <div aria-hidden="true" i-ri:quill-pen-line />
<span v-if="!hideLabel" text-xs overflow-hidden text-ellipsis whitespace-nowrap>{{ $t('nav.favourites') }}</span> <span v-if="!hideLabel" text-xs overflow-hidden text-ellipsis whitespace-nowrap>{{ $t('nav.compose') }}</span>
</NuxtLink> </NuxtLink>
</template> </template>