mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 12:35:38 +01:00
Update Pager.tsx
This commit is contained in:
parent
cb03b4ebdf
commit
d4eaa807f7
1 changed files with 4 additions and 1 deletions
|
|
@ -47,7 +47,10 @@ export function Pager({ page, pageSize, count, onPageChange, className }: PagerP
|
||||||
</Icon>
|
</Icon>
|
||||||
</Button>
|
</Button>
|
||||||
<div className={styles.text}>
|
<div className={styles.text}>
|
||||||
{formatMessage(labels.pageOf, { current: page, total: maxPage })}
|
{formatMessage(labels.pageOf, {
|
||||||
|
current: intl.formatNumber(page),
|
||||||
|
total: intl.formatNumber(maxPage),
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
<Button onClick={() => handlePageChange(1)} disabled={lastPage}>
|
<Button onClick={() => handlePageChange(1)} disabled={lastPage}>
|
||||||
<Icon rotate={270}>
|
<Icon rotate={270}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue