fix(ui): make display name clickable in grouped follow notification (#2776)

This commit is contained in:
lazzzis 2024-04-07 01:29:38 -07:00 committed by GitHub
parent ab2201f94d
commit 2599c85047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -22,11 +22,13 @@ const lang = computed(() => {
:count="count"
/>
</template>
<template v-else>
<AccountDisplayName
:account="items.items[0]?.account"
text-primary me-1 font-bold line-clamp-1 ws-pre-wrap break-all
/>
<template v-else-if="count === 1">
<NuxtLink :to="getAccountRoute(items.items[0].account)">
<AccountDisplayName
:account="items.items[0].account"
text-primary me-1 font-bold line-clamp-1 ws-pre-wrap break-all
/>
</NuxtLink>
<span me-1 ws-nowrap>
{{ $t('notification.followed_you') }}
</span>