Dynamics list columns with a lot of work ahead

This commit is contained in:
2025-05-06 00:58:47 +02:00
parent 0613efa846
commit 2fed7fa4e7
7 changed files with 173 additions and 37 deletions

View File

@@ -24,9 +24,9 @@ export const ContractRoutes = () => {
const ListContract = () => {
const columns = [
{ field: "label", headerName: "Label", flex: 1 },
{ field: "label", column: { flex: 1 }},
];
return <List<Contract> resource={`contracts`} columns={columns} />
return <List<Contract> resource={`contracts`} schemaName={"Contract"} columns={columns} />
}
const EditContract = () => {