Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 25 rows per page in Registry by default #226

Merged
merged 1 commit into from
Nov 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: 25 rows per page in Registry by default
  • Loading branch information
StyleT committed Nov 11, 2020
commit ad2c17afc11f22a13b42bd36194fbd825e49a02b
1 change: 1 addition & 0 deletions registry/client/src/appRoutes/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const PostList = props => {
bulkActionButtons={<ListBulkActions />}
exporter={false}
filters={<ListFilter />}
perPage={25}
>
{isSmall ? (
<SimpleList
Expand Down
3 changes: 1 addition & 2 deletions registry/client/src/apps/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
SimpleList,
TextField,
ChipField,
Pagination,
} from 'react-admin'; // eslint-disable-line import/no-unresolved

const PostListBulkActions = memo(props => (
Expand Down Expand Up @@ -41,7 +40,7 @@ const PostList = props => {
{...props}
bulkActionButtons={<PostListBulkActions />}
exporter={false}
pagination={<Pagination perPage={25}/>}
perPage={25}
>
{isSmall ? (
<SimpleList
Expand Down
3 changes: 1 addition & 2 deletions registry/client/src/settings/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
SimpleList,
SelectField,
TextField,
Pagination,
} from 'react-admin';

import {types} from './dataTransform';
Expand Down Expand Up @@ -60,7 +59,7 @@ const PostList = props => {
{...props}
exporter={false}
bulkActionButtons={false}
pagination={<Pagination perPage={25}/>}
perPage={25}
>
{isSmall
? (
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy