fix pagination info for all tanstak-tables
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user