diff --git a/frontend/src/lib/components/DashboardMentions.svelte b/frontend/src/lib/components/DashboardMentions.svelte index b57e2ad2..375fcd47 100644 --- a/frontend/src/lib/components/DashboardMentions.svelte +++ b/frontend/src/lib/components/DashboardMentions.svelte @@ -31,15 +31,14 @@ let { mentions }: Props = $props(); href={mention.annotationId ? `/documents/${mention.documentId}?commentId=${mention.referenceId}&annotationId=${mention.annotationId}` : `/documents/${mention.documentId}?commentId=${mention.referenceId}`} - class="font-serif text-lg text-ink hover:text-ink-2" + class="font-serif text-lg text-ink hover:text-ink-2 hover:underline" + >{mention.actorName ?? ''} - {mention.actorName ?? ''} - {#if mention.type === 'MENTION'}{m.dashboard_notification_mentioned()}{:else}{m.dashboard_notification_replied()}{/if} - + + {mention.type === 'MENTION' + ? m.dashboard_notification_mentioned() + : m.dashboard_notification_replied()} + {:else} {mention.actorName ?? ''} {/if}