Revert "fix: resolve all ESLint errors in backend and frontend"
Build and Push Multi-Platform Images / build-and-push (push) Successful in 19s

This reverts commit 07dfd7e840.
This commit is contained in:
2026-06-16 16:19:11 +02:00
parent 14c11bf718
commit 66aeab282c
43 changed files with 204 additions and 399 deletions
@@ -441,10 +441,9 @@ function DocTypeFieldsTable({ docTypeId }: { docTypeId: number }) {
case 1: return <Tag>Absender</Tag>;
case 2: return <Tag>Belegdatum</Tag>;
case 3: return <Tag>Ablagenummer</Tag>;
case 4: {
case 4:
const cf = customFields.find(c => c.id === record.TypeIndex);
return <Tag color="blue">{cf ? cf.name : `CF #${record.TypeIndex}`}</Tag>;
}
case 5: return <Tag>Titel</Tag>;
default: return <Tag>Unbekannt ({record.Type})</Tag>;
}