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
Updated goals chart.
Mike Caoabd0913e9b66
diff --git a/src/app/(main)/reports/goals/GoalsChart.tsx b/src/app/(main)/reports/goals/GoalsChart.tsxindex 910f138c5..247602343 100644--- a/src/app/(main)/reports/goals/GoalsChart.tsx+++ b/src/app/(main)/reports/goals/GoalsChart.tsx@@ -25,13 +25,6 @@ export function GoalsChart({ className }: { className?: string; isLoading?: bool</span><span className={styles.item}>{value}</span></div>- <div className={styles.metric}>- <div className={styles.value}>- {formatLongNumber(result)}- <span className={styles.total}> / {formatLongNumber(goal)}</span>- </div>- <div className={styles.percent}>{((result / goal) * 100).toFixed(2)}%</div>- </div><div className={styles.track}><divclassName={classNames(@@ -46,6 +39,13 @@ export function GoalsChart({ className }: { className?: string; isLoading?: boolstyle={{ width: `${percent}%` }}></div></div>+ <div className={styles.metric}>+ <div className={styles.value}>+ {formatLongNumber(result)}+ <span className={styles.total}> / {formatLongNumber(goal)}</span>+ </div>+ <div className={styles.percent}>{((result / goal) * 100).toFixed(2)}%</div>+ </div></div></div>);