fix pagination info for all tanstak-tables
This commit is contained in:
@@ -232,7 +232,7 @@ export default function FilePageViolationsList({
|
||||
className="sources-list-pagination"
|
||||
>
|
||||
<span>
|
||||
{t('total-violations')}: {fileViolations?.total_elements} | {t('page')} {fileViolations?.current_page} {t('out-of')} {fileViolations?.total_pages}
|
||||
{t('page')} <strong>{fileViolations?.current_page + 1} {t('out-of')} {fileViolations?.total_pages}</strong> | {t('total-violations')}: {fileViolations?.total_elements}
|
||||
</span>
|
||||
{fileViolations?.total_pages > 1 && (
|
||||
<div className="pagination-controls">
|
||||
|
||||
Reference in New Issue
Block a user