Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Don't show metric change indicator when metric delta is 0
Sophia Willowsef3f08788f54
diff --git a/components/metrics/MetricCard.js b/components/metrics/MetricCard.jsindex 9b407f37c..429a37d60 100644--- a/components/metrics/MetricCard.js+++ b/components/metrics/MetricCard.js@@ -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.spanclassName={`${styles.change} ${