added car name to violations list
This commit is contained in:
@@ -33,12 +33,21 @@ const ViolationsList = () => {
|
||||
},
|
||||
{
|
||||
accessorKey: "machine_code",
|
||||
header: "خودرو",
|
||||
header: "کد خودرو",
|
||||
id: "machine_code",
|
||||
datatype: "text",
|
||||
columnFilterModeOptions: ["equals", "contains"],
|
||||
grow: false,
|
||||
},
|
||||
{
|
||||
accessorKey: "machine",
|
||||
header: "نام خودرو",
|
||||
id: "machine",
|
||||
datatype: "text",
|
||||
columnFilterModeOptions: ["equals", "contains"],
|
||||
grow: false,
|
||||
Cell: ({ row }) => row.original.machine?.car_name || "-",
|
||||
},
|
||||
{
|
||||
accessorKey: "mission_id",
|
||||
header: "کد ماموریت",
|
||||
|
||||
Reference in New Issue
Block a user