mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
fix null toString event data bug
This commit is contained in:
parent
29694352e7
commit
32f0d23de4
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export const MetricCard = ({
|
|||
return (
|
||||
<div className={classNames(styles.card, className, showPrevious && styles.compare)}>
|
||||
{showLabel && <div className={styles.label}>{label}</div>}
|
||||
<animated.div className={styles.value} title={value.toString()}>
|
||||
<animated.div className={styles.value} title={value?.toString()}>
|
||||
{props?.x?.to(x => formatValue(x))}
|
||||
</animated.div>
|
||||
{showChange && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue