feat: change pagination options

This commit is contained in:
Deluan
2020-02-05 13:28:39 -05:00
parent 6aaee4342e
commit 989deb1200
5 changed files with 19 additions and 4 deletions
+3 -1
View File
@@ -12,7 +12,7 @@ import {
SimpleShowLayout,
TextField
} from 'react-admin'
import { DurationField, Title } from '../common'
import { DurationField, Pagination, Title } from '../common'
const AlbumFilter = (props) => (
<Filter {...props}>
@@ -50,6 +50,8 @@ const AlbumList = (props) => (
exporter={false}
bulkActionButtons={false}
filters={<AlbumFilter />}
perPage={15}
pagination={<Pagination />}
>
<Datagrid expand={<AlbumDetails />} rowClick={albumRowClick}>
<TextField source="name" />