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