Bold group for old chat notif

This commit is contained in:
Ian Philips 2022-07-14 17:03:08 -06:00
parent a9018d77c7
commit 44d993a588

View File

@ -321,7 +321,10 @@ function GroupsList(props: {
className={clsx( className={clsx(
'group flex items-center rounded-md px-3 py-2 text-sm font-medium text-gray-600 hover:bg-gray-100 hover:text-gray-900', 'group flex items-center rounded-md px-3 py-2 text-sm font-medium text-gray-600 hover:bg-gray-100 hover:text-gray-900',
preferredNotifications.some( preferredNotifications.some(
(n) => !n.isSeen && n.isSeenOnHref === item.href (n) =>
!n.isSeen &&
(n.isSeenOnHref === item.href ||
n.isSeenOnHref === item.href.replace('/chat', ''))
) && 'font-bold' ) && 'font-bold'
)} )}
> >