Implementing enum references for columns and filters
This commit is contained in:
@@ -25,6 +25,8 @@ export const ContractRoutes = () => {
|
||||
const ListContract = () => {
|
||||
const columns = [
|
||||
{ field: "label", column: { flex: 1 }},
|
||||
{ field: "status", column: { width: 160 }},
|
||||
{ field: "updated_at", column: { width: 160 }},
|
||||
];
|
||||
return <List<Contract> resource={`contracts`} schemaName={"Contract"} columns={columns} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user