Fix build errors

This commit is contained in:
Darren Clarke 2024-04-21 20:47:55 +02:00
parent f93c4ad317
commit e720336768
22 changed files with 91 additions and 96 deletions

View file

@ -31,25 +31,27 @@ export const TicketList: FC<TicketListProps> = ({ title, tickets }) => {
{
field: "customer",
headerName: "Sender",
valueGetter: (params) => params.row?.customer?.fullname,
valueGetter: (params: any) => params.row?.customer?.fullname,
flex: 2,
},
{
field: "createdAt",
headerName: "Created At",
valueGetter: (params) => new Date(params.row?.createdAt).toLocaleString(),
valueGetter: (params: any) =>
new Date(params.row?.createdAt).toLocaleString(),
flex: 1,
},
{
field: "updatedAt",
headerName: "Updated At",
valueGetter: (params) => new Date(params.row?.updatedAt).toLocaleString(),
valueGetter: (params: any) =>
new Date(params.row?.updatedAt).toLocaleString(),
flex: 1,
},
{
field: "group",
headerName: "Group",
valueGetter: (params) => params.row?.group?.name,
valueGetter: (params: any) => params.row?.group?.name,
flex: 1,
},
];