fix(ui): make display name clickable in grouped follow notification (#2776)
parent
ab2201f94d
commit
2599c85047
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue