1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-21 13:47:39 +02:00

fix: minimum pagination size (#6322)

This commit is contained in:
Mateusz Kwasniewski 2024-02-22 20:30:59 +01:00 committed by GitHub
parent 8b0218df6a
commit 24d6d24e24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ export const PaginatedTable = <T extends object>({
<ConditionallyRender <ConditionallyRender
condition={ condition={
tableInstance.getRowModel().rows.length > 0 && tableInstance.getRowModel().rows.length > 0 &&
(totalItems || 0) > pagination.pageSize (totalItems || 0) > 25
} }
show={ show={
<StickyPaginationBar <StickyPaginationBar