enable media bulk delete button, fixes #216
This commit is contained in:
@@ -50,6 +50,7 @@ import {
|
|||||||
SaveButton,
|
SaveButton,
|
||||||
CreateButton,
|
CreateButton,
|
||||||
ExportButton,
|
ExportButton,
|
||||||
|
BulkDeleteButton,
|
||||||
TopToolbar,
|
TopToolbar,
|
||||||
Toolbar,
|
Toolbar,
|
||||||
NumberField,
|
NumberField,
|
||||||
@@ -496,7 +497,7 @@ export const UserEdit = (props: EditProps) => {
|
|||||||
perPage={50}
|
perPage={50}
|
||||||
sort={{ field: "created_ts", order: "DESC" }}
|
sort={{ field: "created_ts", order: "DESC" }}
|
||||||
>
|
>
|
||||||
<Datagrid sx={{ width: "100%" }}>
|
<Datagrid sx={{ width: "100%" }} bulkActionButtons={<BulkDeleteButton/>}>
|
||||||
<MediaIDField source="media_id" />
|
<MediaIDField source="media_id" />
|
||||||
<DateField source="created_ts" showTime options={DATE_FORMAT} />
|
<DateField source="created_ts" showTime options={DATE_FORMAT} />
|
||||||
<DateField source="last_access_ts" showTime options={DATE_FORMAT} />
|
<DateField source="last_access_ts" showTime options={DATE_FORMAT} />
|
||||||
|
|||||||
Reference in New Issue
Block a user