Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Show 0% difference instead of N/A (#2401)

Vinicius Brasilb2047d897520
diff --git a/assets/js/dashboard/stats/graph/top-stats.js b/assets/js/dashboard/stats/graph/top-stats.js
index b1ba6d0fe8..c4fe529216 100644
--- a/assets/js/dashboard/stats/graph/top-stats.js
+++ b/assets/js/dashboard/stats/graph/top-stats.js
@@ -15,7 +15,7 @@ export default class TopStats extends React.Component {
const color = name === 'Bounce rate' ? 'text-green-500' : 'text-red-400'
return <span className="text-xs dark:text-gray-100"><span className={color + ' font-bold'}>&darr;</span> {formattedComparison}%</span>
} else if (comparison === 0) {
- return <span className="text-xs text-gray-700 dark:text-gray-300">&#12336; N/A</span>
+ return <span className="text-xs text-gray-700 dark:text-gray-300">&#12336; 0%</span>
}
}