From c00459e1f86b06ee9bf677c90739ad177cf260f7 Mon Sep 17 00:00:00 2001
From: alma
Date: Sun, 4 May 2025 12:22:53 +0200
Subject: [PATCH] notifications
---
components/notification-badge.tsx | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
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}
+
+ )}