Add filter to users list

This commit is contained in:
dklimpel 2020-03-29 16:05:54 +02:00
parent c34477343e
commit 00d3069efd

View File

@ -14,10 +14,12 @@ import {
TextInput,
ReferenceField,
regex,
SearchInput,
} from "react-admin";
const UserFilter = props => (
<Filter {...props}>
<SearchInput source="user_id" alwaysOn />
<BooleanInput source="guests" alwaysOn />
<BooleanInput
label="resources.users.fields.show_deactivated"