mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 10:16:06 +03:00
fix(ui): make display name clickable in grouped follow notification (#2776)
This commit is contained in:
parent
ab2201f94d
commit
2599c85047
1 changed files with 7 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue