parent
ca48495bbf
commit
e6a1be74de
@ -14,20 +14,8 @@ import {
|
||||
TextInput,
|
||||
ReferenceField,
|
||||
regex,
|
||||
CreateButton,
|
||||
ExportButton,
|
||||
TopToolbar,
|
||||
} from "react-admin";
|
||||
|
||||
const ListActions = () => (
|
||||
<TopToolbar>
|
||||
<CreateButton />
|
||||
<ExportButton
|
||||
maxResults={"1500"}
|
||||
/>
|
||||
</TopToolbar>
|
||||
);
|
||||
|
||||
const UserFilter = props => (
|
||||
<Filter {...props}>
|
||||
<BooleanInput source="guests" alwaysOn />
|
||||
@ -45,7 +33,6 @@ export const UserList = props => (
|
||||
filters={<UserFilter />}
|
||||
filterDefaultValues={{ guests: true, deactivated: false }}
|
||||
bulkActionButtons={false}
|
||||
actions={<ListActions />}
|
||||
>
|
||||
<Datagrid rowClick="edit">
|
||||
<ReferenceField
|
||||
|
Loading…
Reference in New Issue
Block a user