From 6e021fb23a9331a2c7853af3b4432feb7be11825 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 24 Apr 2026 13:26:13 +0200 Subject: [PATCH] fix(briefwechsel): repair 500 by consuming backend thumbnailUrl directly ConversationThumbnail still imported the `$lib/thumbnails` helper that a02f6cdc deleted, so every SSR render of /briefwechsel crashed with "Cannot find module '$lib/thumbnails'". Finish that refactor by reading `doc.thumbnailUrl` straight off the Document DTO (same shape DocumentThumbnail already uses), and update the spec fixtures to match. Co-Authored-By: Claude Opus 4.7 --- .../lib/components/ConversationThumbnail.svelte | 15 ++++++--------- .../ConversationThumbnail.svelte.spec.ts | 15 +++++++-------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/frontend/src/lib/components/ConversationThumbnail.svelte b/frontend/src/lib/components/ConversationThumbnail.svelte index 376f0c40..ca99a366 100644 --- a/frontend/src/lib/components/ConversationThumbnail.svelte +++ b/frontend/src/lib/components/ConversationThumbnail.svelte @@ -1,17 +1,14 @@