Skip to content

Commit 43488b4

Browse files
chore(site): refactor pagination text (#11061)
1 parent b376b2c commit 43488b4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

site/src/components/PaginationWidget/PaginationHeader.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ export const PaginationHeader: FC<PaginationHeaderProps> = ({
4343

4444
{totalRecords !== 0 && currentOffsetStart !== undefined && (
4545
<div>
46-
Showing {paginationUnitLabel}{" "}
46+
Showing <strong>{currentOffsetStart}</strong> to{" "}
4747
<strong>
48-
{currentOffsetStart}&ndash;
4948
{currentOffsetStart +
5049
Math.min(limit - 1, totalRecords - currentOffsetStart)}
5150
</strong>{" "}
52-
(<strong>{totalRecords.toLocaleString()}</strong>{" "}
53-
{paginationUnitLabel} total)
51+
of <strong>{totalRecords.toLocaleString()}</strong>{" "}
52+
{paginationUnitLabel}
5453
</div>
5554
)}
5655
</>

0 commit comments

Comments
 (0)