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
@@ -270,7 +270,7 @@ export function ViolationsMyClaimsTable() {
{t('page')}{' '}
<strong>
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
</strong>
</strong> | {t('total-claims')}: {totalItems}
</span>
</div>
@@ -270,7 +270,7 @@ export function ViolationsMyComplaintsTable() {
{t('page')}{' '}
<strong>
{pagination.pageIndex + 1} {t('out-of')} {totalPages || 1}
</strong>
</strong> | {t('total-complaints')}: {totalItems}
</span>
</div>
+1 -1
View File
@@ -477,7 +477,7 @@ export default function ViolationsTable() {
{t('page')}{' '}
<strong>
{table.getState().pagination.pageIndex + 1} {t('out-of')} {violationData?.totalPages || 1}
</strong>
</strong> | {t('total-matches')}: {violationData?.totalElements}
</span>
</div>