notifications big
This commit is contained in:
parent
313c2a874f
commit
88c3db795d
@ -156,10 +156,13 @@ export const NotificationBadge = memo(function NotificationBadge({ className }:
|
||||
<div className="flex items-start justify-between">
|
||||
<div className="max-w-[90%]">
|
||||
<div className="flex items-center gap-2 flex-wrap">
|
||||
{!notification.isRead && notification.source === 'rocketchat' && (
|
||||
<span className="w-2 h-2 rounded-full bg-blue-500 flex-shrink-0"></span>
|
||||
)}
|
||||
<span className="text-sm font-medium">
|
||||
{notification.title}
|
||||
</span>
|
||||
{!notification.isRead && (
|
||||
{!notification.isRead && notification.source !== 'rocketchat' && (
|
||||
<Badge variant="secondary" className="bg-blue-500 text-white">New</Badge>
|
||||
)}
|
||||
{notification.source === 'leantime' && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user