Fix error from merging
This commit is contained in:
parent
9dc2b641f9
commit
1fbba9badf
@ -7,20 +7,17 @@ const RoomFilter = props => (
|
|||||||
</Filter>
|
</Filter>
|
||||||
);
|
);
|
||||||
|
|
||||||
export const RoomList = props => (
|
|
||||||
<List
|
|
||||||
{...props}
|
|
||||||
sort={{ field: "alphabetical", order: "DESC" }}
|
|
||||||
filters={<RoomFilter />}
|
|
||||||
>
|
|
||||||
|
|
||||||
const RoomPagination = props => (
|
const RoomPagination = props => (
|
||||||
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
|
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
|
||||||
);
|
);
|
||||||
|
|
||||||
export const RoomList = props => (
|
export const RoomList = props => (
|
||||||
<List {...props} pagination={<RoomPagination />}>
|
<List
|
||||||
|
{...props}
|
||||||
|
sort={{ field: "alphabetical", order: "DESC" }}
|
||||||
|
filters={<RoomFilter />}
|
||||||
|
pagination={<RoomPagination />}
|
||||||
|
>
|
||||||
<Datagrid>
|
<Datagrid>
|
||||||
<TextField source="room_id" sortable={false} />
|
<TextField source="room_id" sortable={false} />
|
||||||
<TextField source="name" sortBy="alphabetical" />
|
<TextField source="name" sortBy="alphabetical" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user