import Link from 'next/link' import { de } from '@/lib/i18n/de' import { StampMark, classificationEdgeStyle } from '@/components/StampMark' type Eintrag = { id: string documentNumber: string title: string status: string layout: string classification: number createdAt: Date retractedAt: Date | null } /** * Dokumente eines Besitzers. Die Liste ist bereits gefiltert - was hier * ankommt, darf der Leser sehen. Kein Ausblenden im Client. */ export function DocumentList({ documents, levelName, }: { documents: Eintrag[] levelName: Map }) { if (documents.length === 0) { return

{de.document.empty}

} return ( ) }