fix(i18n): fix follower count i18n error (#225)
This commit is contained in:
parent
ea04cc2c22
commit
8df22b8a3f
|
@ -24,7 +24,7 @@ defineProps<{
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink :to="`${getAccountPath(account)}/followers`" text-secondary exact-active-class="text-primary">
|
<NuxtLink :to="`${getAccountPath(account)}/followers`" text-secondary exact-active-class="text-primary">
|
||||||
<template #default="{ isExactActive }">
|
<template #default="{ isExactActive }">
|
||||||
<i18n-t keypath="account.following_count">
|
<i18n-t keypath="account.followers_count">
|
||||||
<span font-bold :class="isExactActive ? 'text-primary' : 'text-base'">{{ humanReadableNumber(account.followersCount) }}</span>
|
<span font-bold :class="isExactActive ? 'text-primary' : 'text-base'">{{ humanReadableNumber(account.followersCount) }}</span>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue