Dynamic Schema names for crud
This commit is contained in:
@@ -26,9 +26,9 @@ const ListContract = () => {
|
||||
}
|
||||
|
||||
const EditContract = () => {
|
||||
return <Edit<Contract> resource={`contracts`} schemaName={"ContractUpdate"} />
|
||||
return <Edit<Contract> resource={`contracts`} schemaName={"Contract"} />
|
||||
}
|
||||
|
||||
const CreateContract = () => {
|
||||
return <New<Contract> resource={`contracts`} schemaName={"ContractCreate"} />
|
||||
return <New<Contract> resource={`contracts`} schemaName={"Contract"} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user