Fix error from merging

This commit is contained in:
Dirk Klimpel 2020-04-06 22:34:51 +02:00 committed by GitHub
parent 9dc2b641f9
commit 1fbba9badf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,20 +7,17 @@ const RoomFilter = props => (
</Filter>
);
export const RoomList = props => (
<List
{...props}
sort={{ field: "alphabetical", order: "DESC" }}
filters={<RoomFilter />}
>
const RoomPagination = props => (
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
);
export const RoomList = props => (
<List {...props} pagination={<RoomPagination />}>
<List
{...props}
sort={{ field: "alphabetical", order: "DESC" }}
filters={<RoomFilter />}
pagination={<RoomPagination />}
>
<Datagrid>
<TextField source="room_id" sortable={false} />
<TextField source="name" sortBy="alphabetical" />