make report table sortable
This commit is contained in:
@@ -44,8 +44,8 @@
|
|||||||
{ key: 'reason', label: 'Grund' },
|
{ key: 'reason', label: 'Grund' },
|
||||||
{ key: 'reporter.username', label: 'Report Ersteller' },
|
{ key: 'reporter.username', label: 'Report Ersteller' },
|
||||||
{ key: 'reported.username', label: 'Reporteter Spieler' },
|
{ key: 'reported.username', label: 'Reporteter Spieler' },
|
||||||
{ key: 'createdAt', label: 'Datum', transform: date },
|
{ key: 'createdAt', label: 'Datum', sortable: true, transform: date },
|
||||||
{ key: 'status.status', label: 'Bearbeitungsstatus', transform: status }
|
{ key: 'status.status', label: 'Bearbeitungsstatus', sortable: true, transform: status }
|
||||||
]}
|
]}
|
||||||
onClick={(report) => (activeReport = report)}
|
onClick={(report) => (activeReport = report)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user