diff --git a/components/notification-badge.tsx b/components/notification-badge.tsx index 6847273a..5180a62b 100644 --- a/components/notification-badge.tsx +++ b/components/notification-badge.tsx @@ -1,6 +1,6 @@ import React, { memo, useState, useEffect } from 'react'; import Link from 'next/link'; -import { Bell, Check, ExternalLink, AlertCircle, LogIn } from 'lucide-react'; +import { Bell, Check, ExternalLink, AlertCircle, LogIn, Kanban } from 'lucide-react'; import { Badge } from '@/components/ui/badge'; import { useNotifications } from '@/hooks/use-notifications'; import { Button } from '@/components/ui/button'; @@ -175,9 +175,20 @@ export const NotificationBadge = memo(function NotificationBadge({ className }: {!notification.isRead && ( New )} + {notification.source === 'leantime' && ( + + + Agilité + + )}

{formatDistanceToNow(new Date(notification.timestamp), { addSuffix: true })} + {notification.source && ( + + • {notification.source === 'leantime' ? 'Leantime' : notification.source} + + )}