fix sorting for match table

This commit is contained in:
smanylov
2026-04-09 13:50:18 +07:00
parent e152013e2a
commit 77ad126530
+3 -5
View File
@@ -22,8 +22,6 @@ interface ViolationFile {
violationCount: number;
}
interface ViolationDataResponse extends Array<ViolationFile> { }
export default function ViolationsTable() {
const {
data: violationData,
@@ -121,7 +119,7 @@ export default function ViolationsTable() {
}
},
{
accessorKey: 'file',
accessorKey: 'fileName',
header: ({ column }) => (
<div className="column start">
<span>
@@ -161,7 +159,7 @@ export default function ViolationsTable() {
}
},
{
accessorKey: 'violation',
accessorKey: 'violationCount',
header: ({ column }) => (
<div className="column">
<span>
@@ -194,7 +192,7 @@ export default function ViolationsTable() {
),
},
{
accessorKey: 'date',
accessorKey: 'latestViolationDate',
header: ({ column }) => (
<div className="column">
<span>