refactor(document-thumbnail): read doc.thumbnailUrl instead of composing locally

The backend now exposes thumbnailUrl as a serialised computed property
on Document, so the component drops its dependency on the frontend
URL-builder. PersonDocumentList's inline Doc prop type follows the
same shift (#309).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-23 22:18:07 +02:00
parent a8b9133b80
commit 817749889a
2 changed files with 3 additions and 8 deletions

View File

@@ -20,8 +20,7 @@ let {
location?: string | null;
status: string;
contentType?: string;
thumbnailKey?: string;
thumbnailGeneratedAt?: string;
thumbnailUrl?: string;
}[];
heading: string;
emptyMessage: string;