diff --git a/frontend/src/lib/components/TagChipList.svelte b/frontend/src/lib/components/TagChipList.svelte
index 92a5df9c..9c974cea 100644
--- a/frontend/src/lib/components/TagChipList.svelte
+++ b/frontend/src/lib/components/TagChipList.svelte
@@ -12,12 +12,12 @@ const hiddenTagCount = $derived(Math.max(0, tags.length - max));
{#each displayedTags as tag (tag.id)}
{tag.name}
{/each}
{#if hiddenTagCount > 0}
- +{hiddenTagCount}
+ +{hiddenTagCount}
{/if}
{/if}
diff --git a/frontend/src/lib/components/ThumbnailRow.svelte b/frontend/src/lib/components/ThumbnailRow.svelte
index f5770211..f7eccac4 100644
--- a/frontend/src/lib/components/ThumbnailRow.svelte
+++ b/frontend/src/lib/components/ThumbnailRow.svelte
@@ -2,7 +2,6 @@
import ConversationThumbnail from '$lib/components/ConversationThumbnail.svelte';
import TagChipList from '$lib/components/TagChipList.svelte';
import { formatDate } from '$lib/utils/date';
-import { relativeYearsDe } from '$lib/relativeTime';
import * as m from '$lib/paraglide/messages.js';
type Person = { id: string; firstName?: string | null; lastName: string; displayName: string };
@@ -28,13 +27,11 @@ type Doc = {
let {
doc,
isOut,
- showOtherParty,
- now = new Date()
+ showOtherParty
}: {
doc: Doc;
isOut: boolean;
showOtherParty: boolean;
- now?: Date;
} = $props();
const title = $derived(doc.title || doc.originalFilename);
@@ -45,9 +42,6 @@ const otherPartyName = $derived(
: (doc.sender?.displayName ?? '')
: ''
);
-const relativeYearLabel = $derived(
- doc.documentDate ? relativeYearsDe(new Date(doc.documentDate + 'T12:00:00'), now) : ''
-);
const directionLabel = $derived(isOut ? m.row_direction_sent() : m.row_direction_received());
const ariaLabel = $derived(
`${directionLabel}: ${title}${doc.documentDate ? `, ${formatDate(doc.documentDate)}` : ''}`
@@ -63,23 +57,18 @@ const ariaLabel = $derived(
>