diff --git a/src/app/ui/violations/violations-table.tsx b/src/app/ui/violations/violations-table.tsx index 4ea8deb..e49a3ac 100644 --- a/src/app/ui/violations/violations-table.tsx +++ b/src/app/ui/violations/violations-table.tsx @@ -22,6 +22,8 @@ interface FileViolation { status: string; supportId: number; violationCount: number; + countComplaint: number; + countLawCase: number; } interface ViolationData { @@ -233,10 +235,10 @@ export default function ViolationsTable() { ), }, { - accessorKey: 'latestViolationDate', + accessorKey: 'countComplaint', header: ({ column }) => (
- {t('date')} + {t('complaint')} +
+ ), + cell: ({ row }) => ( +
+ {row.original.countLawCase}
), },