Skip to content

Commit

Permalink
[Enterprise Search] Fix pagination on sync jobs table (#143065)
Browse files Browse the repository at this point in the history
  • Loading branch information
sphilipse authored Oct 12, 2022
1 parent fc2332f commit 6aae088
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export const SyncJobs: React.FC = () => {
<EuiBasicTable
items={syncJobs}
columns={columns}
onChange={({ page: { index } }: { page: { index: number } }) => {
onChange={({ page: { index, size } }: { page: { index: number; size: number } }) => {
if (connectorId) {
fetchSyncJobs({ connectorId, page: index, size: syncJobsPagination.pageSize });
fetchSyncJobs({ connectorId, page: index, size });
}
}}
pagination={{
Expand Down

0 comments on commit 6aae088

Please sign in to comment.