diff --git a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js index da311e02960..b68ce8240ea 100644 --- a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js +++ b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js @@ -38,6 +38,9 @@ export const Table = ({ children, bottomPagination, }) => { + const onPagination = newPagination => { + setParams({ ...params, ...newPagination }); + }; if (!bottomPagination) bottomPagination = ( { - setParams({ ...params, ...newPagination }); - }; const { pfSortParams } = useTableSort({ allColumns: Object.keys(columns).map(k => columns[k].title), columnsToSortParams,