Skip to content

Commit

Permalink
fix: pagination for stage interview page (#2599)
Browse files Browse the repository at this point in the history
* fix: pagination for stage interview page

* fix: single expression body for showTotal
  • Loading branch information
karlovich authored Feb 20, 2025
1 parent 7bc13b6 commit dda094c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/src/pages/course/admin/stage-interviews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ function Page() {
</Row>

<Table
pagination={{ pageSize: 50 }}
pagination={{
defaultPageSize: 50,
showSizeChanger: true,
showTotal: (total, range) => `${range[0]}-${range[1]} of ${total} interviews`,
}}
size="small"
rowKey="id"
dataSource={interviews}
Expand Down

0 comments on commit dda094c

Please sign in to comment.