chore(site): refactor pagination text (#11061)
This commit is contained in:
1 parent
b376b2cd13
commit
43488b44ce
1 file changed
+3
-4
@@ -43,14 +43,13 @@ export const PaginationHeader: FC<PaginationHeaderProps> = ({
|
||||
|
||||
{totalRecords !== 0 && currentOffsetStart !== undefined && (
|
||||
<div>
|
||||
Showing {paginationUnitLabel}{" "}
|
||||
Showing <strong>{currentOffsetStart}</strong> to{" "}
|
||||
<strong>
|
||||
{currentOffsetStart}–
|
||||
{currentOffsetStart +
|
||||
Math.min(limit - 1, totalRecords - currentOffsetStart)}
|
||||
</strong>{" "}
|
||||
(<strong>{totalRecords.toLocaleString()}</strong>{" "}
|
||||
{paginationUnitLabel} total)
|
||||
of <strong>{totalRecords.toLocaleString()}</strong>{" "}
|
||||
{paginationUnitLabel}
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user