fix(#145): split DashboardMentions link from muted label #154

Merged
marcel merged 1 commits from feat/145-dashboard into main 2026-03-29 12:55:37 +02:00

View File

@@ -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 ?? ''}</a
>
{mention.actorName ?? ''}
{#if mention.type === 'MENTION'}<span class="ml-1 font-sans text-xs text-gray-400"
>{m.dashboard_notification_mentioned()}</span
>{:else}<span class="ml-1 font-sans text-xs text-gray-400"
>{m.dashboard_notification_replied()}</span
>{/if}
</a>
<span class="font-sans text-xs text-gray-400">
{mention.type === 'MENTION'
? m.dashboard_notification_mentioned()
: m.dashboard_notification_replied()}
</span>
{:else}
<span class="font-serif text-lg text-ink">{mention.actorName ?? ''}</span>
{/if}