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

This commit is contained in:
hq1 2023-07-19 12:56:56 +02:00 committed by GitHub
parent edd2757531
commit dfa5bbf4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}