fix pagination info for all tanstak-tables

This commit is contained in:
smanylov
2026-05-25 14:22:41 +07:00
parent 1a3f5277d9
commit 491adb4090
9 changed files with 17 additions and 10 deletions
@@ -47,6 +47,7 @@ export function TrackingHistoryView() {
refetch
} = useHistoryView(pagination.pageIndex, pagination.pageSize, locale, getSortParams.sortOrder, getSortParams.sortBy);
const totalElements = apiResponse?.totalElements || 0
const tableData = apiResponse?.history || [];
const totalPages = apiResponse?.totalPages || 0;
@@ -381,7 +382,7 @@ export function TrackingHistoryView() {
{t('page')}{' '}
<strong>
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
</strong>
</strong> | {t('total-document-openings')}: {totalElements}
</span>
</div>