Skip to content

Commit

Permalink
fix: increased default page size in the Species tool (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstetzer32 authored Nov 25, 2021
1 parent 8c043f7 commit 9f36227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SpeciesTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const SpeciesTable = (props) => {
const sortOptions = { byId: 'id', byName: 'name' };
const speciesContext = useContext(SpeciesContext);
const [page, setPage] = useState(0);
const [rowsPerPage, setRowsPerPage] = useState(5);
const [rowsPerPage, setRowsPerPage] = useState(25);
const [isEdit, setIsEdit] = useState(false);
const [isAdding, setIsAdding] = useState(false);
const [speciesEdit, setSpeciesEdit] = useState(undefined);
Expand Down Expand Up @@ -226,7 +226,7 @@ const SpeciesTable = (props) => {
const tablePagination = () => (
<TablePagination
count={speciesContext.speciesList.length}
rowsPerPageOptions={[5, 10, 20, { label: 'All', value: -1 }]}
rowsPerPageOptions={[25, 50, 100, { label: 'All', value: -1 }]}
colSpan={3}
page={page}
rowsPerPage={rowsPerPage}
Expand Down

0 comments on commit 9f36227

Please sign in to comment.