mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +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>
|
||||
</Button>
|
||||
<div className={styles.text}>
|
||||
{formatMessage(labels.pageOf, { current: page, total: maxPage })}
|
||||
{formatMessage(labels.pageOf, {
|
||||
current: intl.formatNumber(page),
|
||||
total: intl.formatNumber(maxPage),
|
||||
})}
|
||||
</div>
|
||||
<Button onClick={() => handlePageChange(1)} disabled={lastPage}>
|
||||
<Icon rotate={270}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue