mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Update ListTable.tsx
This commit is contained in:
parent
16cc13f49d
commit
a49463dc68
1 changed files with 4 additions and 1 deletions
|
|
@ -96,7 +96,10 @@ const AnimatedRow = ({ label, value = 0, percent, change, animate, showPercentag
|
||||||
<div className={styles.label}>{label}</div>
|
<div className={styles.label}>{label}</div>
|
||||||
<div className={styles.value}>
|
<div className={styles.value}>
|
||||||
{change}
|
{change}
|
||||||
<animated.div className={styles.value} title={props?.y as any}>
|
<animated.div
|
||||||
|
className={styles.value}
|
||||||
|
title={props?.y.to((n: number) => intl.formatNumber(n))}
|
||||||
|
>
|
||||||
{props.y?.to((n: number) => intl.formatNumber(n, formatLongNumberOptions(n)))}
|
{props.y?.to((n: number) => intl.formatNumber(n, formatLongNumberOptions(n)))}
|
||||||
</animated.div>
|
</animated.div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue