Bold group for old chat notif
This commit is contained in:
parent
a9018d77c7
commit
44d993a588
|
@ -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'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user