Skip to content

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

Render funnel name in bold only when funnels tab active (#3163)

hq1dfa5bbf4a0fe
diff --git a/assets/js/dashboard/stats/behaviours/index.js b/assets/js/dashboard/stats/behaviours/index.js
index fc6a77e77e..da9b152de5 100644
--- a/assets/js/dashboard/stats/behaviours/index.js
+++ b/assets/js/dashboard/stats/behaviours/index.js
@@ -82,7 +82,7 @@ export default function Behaviours(props) {
className={classNames(
active ? 'bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-200 cursor-pointer' : 'text-gray-700 dark:text-gray-200',
'block px-4 py-2 text-sm',
- selectedFunnel === funnelName ? 'font-bold text-gray-500' : ''
+ (mode === FUNNELS && selectedFunnel === funnelName) ? 'font-bold text-gray-500' : ''
)}
>
{funnelName}