1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-14 21:09:58 +00:00

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

View file

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