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

shuuji3/fix/hr-between-status
lazzzis 2024-04-07 01:29:38 -07:00 zatwierdzone przez GitHub
rodzic ab2201f94d
commit 2599c85047
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -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>