mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 02:06:19 +01:00
Don't show metric change indicator when metric delta is 0
This commit is contained in:
parent
1e4c3ebf3b
commit
ef3f08788f
@ -19,7 +19,6 @@ const MetricCard = ({
|
||||
<animated.div className={styles.value}>{props.x.interpolate(x => format(x))}</animated.div>
|
||||
<div className={styles.label}>
|
||||
{label}
|
||||
{~~change === 0 && !hideComparison && <span className={styles.change}>{format(0)}</span>}
|
||||
{~~change !== 0 && !hideComparison && (
|
||||
<animated.span
|
||||
className={`${styles.change} ${
|
||||
|
Loading…
Reference in New Issue
Block a user