Skip to content

Commit

Permalink
Fix total item count in pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
cptKNJO committed Dec 6, 2024
1 parent d2c83b3 commit 6817ded
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export function BackupContentTable() {
pageCount={pageData.length}
page={page}
itemsPerPage={itemsPerPage}
totalItemCount={files.length}
totalItemCount={filteredItems.length}
setPage={setPage}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion urbackupserver/www2/src/features/backups/BackupsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function BackupsTable() {
pageCount={pageData.length}
page={page}
itemsPerPage={itemsPerPage}
totalItemCount={data.length}
totalItemCount={filteredItems.length}
setPage={setPage}
/>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export function ClientBackupsTable() {
pageCount={pageData.length}
page={page}
itemsPerPage={itemsPerPage}
totalItemCount={backups.length}
totalItemCount={filteredItems.length}
setPage={setPage}
/>
</>
Expand Down

0 comments on commit 6817ded

Please sign in to comment.