From dfa5bbf4a0fe4b97e33c9b96732127d5afbb158f Mon Sep 17 00:00:00 2001 From: hq1 Date: Wed, 19 Jul 2023 12:56:56 +0200 Subject: [PATCH] Render funnel name in bold only when funnels tab active (#3163) --- assets/js/dashboard/stats/behaviours/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/dashboard/stats/behaviours/index.js b/assets/js/dashboard/stats/behaviours/index.js index fc6a77e77..da9b152de 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}