Skip to content

Commit

Permalink
fix(ui): make display name clickable in grouped follow notification (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lazzzis committed Apr 7, 2024
1 parent ab2201f commit 2599c85
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions components/notification/NotificationGroupedFollow.vue
Expand Up @@ -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>
Expand Down

0 comments on commit 2599c85

Please sign in to comment.