Revert "fix: resolve all ESLint errors in backend and frontend"
Build and Push Multi-Platform Images / build-and-push (push) Successful in 19s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 19s
This reverts commit 07dfd7e840.
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user