Dynamic Schema names for crud

This commit is contained in:
2025-04-22 00:31:39 +02:00
parent 7b6ca62d9a
commit 272a1f61af
6 changed files with 12 additions and 11 deletions

View File

@@ -29,9 +29,9 @@ const ListEntity = () => {
}
const EditEntity = () => {
return <Edit<Entity> resource={`entities`} schemaName={"EntityUpdate"} />
return <Edit<Entity> resource={`entities`} schemaName={"Entity"} />
}
const CreateEntity = () => {
return <New<Entity> resource={`entities`} schemaName={"EntityCreate"} />
return <New<Entity> resource={`entities`} schemaName={"Entity"} />
}