mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: show pagination when enough items (#5948)
This commit is contained in:
parent
3dd188e77c
commit
105747293e
@ -101,7 +101,10 @@ export const PaginatedTable = <T extends object>({
|
||||
</Table>
|
||||
</TableContainer>
|
||||
<ConditionallyRender
|
||||
condition={tableInstance.getRowModel().rows.length > 0}
|
||||
condition={
|
||||
tableInstance.getRowModel().rows.length > 0 &&
|
||||
(totalItems || 0) > pagination.pageSize
|
||||
}
|
||||
show={
|
||||
<StickyPaginationBar
|
||||
totalItems={totalItems}
|
||||
|
Loading…
Reference in New Issue
Block a user