mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 07:29:05 +08:00
### What problem does this PR solve? fix: display total items on chunk list page #900 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
4d10dbcf95
commit
478cd006d6
@ -203,6 +203,12 @@ const Chunk = () => {
|
||||
current={pagination.current}
|
||||
size={'small'}
|
||||
total={total}
|
||||
showTotal={(total) => (
|
||||
<Space>
|
||||
{t('total', { keyPrefix: 'common' })}
|
||||
{total}
|
||||
</Space>
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</Flex>
|
||||
|
@ -29,6 +29,7 @@ const model: DvaModel<ChunkModelState> = {
|
||||
chunkInfo: {},
|
||||
documentInfo: {} as IKnowledgeFile,
|
||||
pagination: {
|
||||
total: 0,
|
||||
current: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
@ -68,6 +69,7 @@ const model: DvaModel<ChunkModelState> = {
|
||||
pagination: {
|
||||
current: 1,
|
||||
pageSize: 10,
|
||||
total: 0,
|
||||
},
|
||||
searchString: '',
|
||||
available: undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user