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 {
TextField,
TextInput
} from 'react-admin'
import { BitrateField, DurationField, Title } from '../common'
import { BitrateField, DurationField, Pagination, Title } from '../common'
import AddToQueueButton from './AddToQueueButton'
import PlayButton from './PlayButton'
@@ -54,6 +54,8 @@ const SongList = (props) => {
exporter={false}
bulkActionButtons={<SongBulkActionButtons />}
filters={<SongFilter />}
perPage={15}
pagination={<Pagination />}
>
<Datagrid expand={<SongDetails />}>
<PlayButton {...props} />