mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-01 09:06:55 +00:00
fix: fix pagination bug
This commit is contained in:
@@ -80,6 +80,8 @@ const ChunkList = () => {
|
|||||||
</Table>
|
</Table>
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
<Pagination
|
<Pagination
|
||||||
|
defaultPageSize={20}
|
||||||
|
showSizeChanger={false}
|
||||||
current={current}
|
current={current}
|
||||||
total={total}
|
total={total}
|
||||||
onChange={async (page) => {
|
onChange={async (page) => {
|
||||||
|
@@ -208,6 +208,8 @@ const Documents = () => {
|
|||||||
</Table>
|
</Table>
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
<Pagination
|
<Pagination
|
||||||
|
defaultPageSize={20}
|
||||||
|
showSizeChanger={false}
|
||||||
current={current}
|
current={current}
|
||||||
total={total}
|
total={total}
|
||||||
onChange={async (page) => {
|
onChange={async (page) => {
|
||||||
|
Reference in New Issue
Block a user