Add support to remove user devices (#57)
Change-Id: I19176daa656b9280ccd00f1ca0095e72870ca21e
This commit is contained in:
parent
78e7c5f391
commit
314906657f
5 changed files with 118 additions and 8 deletions
|
@ -38,6 +38,7 @@ import {
|
|||
sanitizeListRestProps,
|
||||
} from "react-admin";
|
||||
import { ServerNoticeButton, ServerNoticeBulkButton } from "./ServerNotices";
|
||||
import { DeviceRemoveButton } from "./devices";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
|
||||
const useStyles = makeStyles({
|
||||
|
@ -284,6 +285,7 @@ export const UserEdit = props => {
|
|||
}}
|
||||
sortable={false}
|
||||
/>
|
||||
<DeviceRemoveButton />
|
||||
</Datagrid>
|
||||
</ReferenceManyField>
|
||||
</FormTab>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue