From 184773281c0b274e87d1315dff99e015cf17eab3 Mon Sep 17 00:00:00 2001 From: Christian Weichel Date: Wed, 27 Oct 2021 08:11:51 +0000 Subject: [PATCH] Fix react API changes --- pkg/webui/src/JobList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webui/src/JobList.tsx b/pkg/webui/src/JobList.tsx index 546a0f8..47004e2 100644 --- a/pkg/webui/src/JobList.tsx +++ b/pkg/webui/src/JobList.tsx @@ -254,7 +254,7 @@ class JobListImpl extends React.Component { count={this.state.totalJobs} page={this.state.page} rowsPerPage={this.state.rowsPerPage} - onChangePage={(_, page) => { + onPageChange={(_, page) => { this.update({ page }); }} onChangeRowsPerPage={(src) => {