diff --git a/src/resources/users.tsx b/src/resources/users.tsx index 2e33df4..dab6fe4 100644 --- a/src/resources/users.tsx +++ b/src/resources/users.tsx @@ -47,6 +47,7 @@ import { TopToolbar, NumberField, useListContext, + Identifier, } from "react-admin"; import { Link } from "react-router-dom"; @@ -112,7 +113,10 @@ export const UserList = (props: ListProps) => ( actions={} pagination={} > - }> + `/${resource}/${id}`} + bulkActionButtons={} + > @@ -153,7 +157,12 @@ const UserEditActions = () => { }; export const UserCreate = (props: CreateProps) => ( - + { + return `${resource}/${id}`; + }} + >