Skip to content
Snippets Groups Projects
Commit 8f375005 authored by Johanna Szepanski's avatar Johanna Szepanski
Browse files

CE-2357-Changed IOC details hits per page to be consistent with other paginated tables

parent 33d66fb8
No related branches found
No related tags found
2 merge requests!497CE-2790: Prepare for 4.0.0,!429CE-2357-IOC-details-hits-per-page
...@@ -42,7 +42,7 @@ export function IOCDetailsView({ ioc, getIOC, abortGetIOC, loading }) { ...@@ -42,7 +42,7 @@ export function IOCDetailsView({ ioc, getIOC, abortGetIOC, loading }) {
const [urlState, setUrlState] = useUrlState( const [urlState, setUrlState] = useUrlState(
{ {
tab: "Status", tab: "Status",
jobs_rows: "5", jobs_rows: "20",
jobs_page: "0" jobs_page: "0"
}, },
{ navigateMode: "replace" } { navigateMode: "replace" }
...@@ -101,7 +101,7 @@ export function IOCDetailsView({ ioc, getIOC, abortGetIOC, loading }) { ...@@ -101,7 +101,7 @@ export function IOCDetailsView({ ioc, getIOC, abortGetIOC, loading }) {
[setUrlState] [setUrlState]
); );
const rowsPerPage = [5, 20]; const rowsPerPage = [20, 50];
const { pagination: jobPagination, setPagination: setJobPagination } = const { pagination: jobPagination, setPagination: setJobPagination } =
usePagination({ usePagination({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment