rename content into message for notifications

This commit is contained in:
Giovanni committed 2026-03-28 17:11:27 +01:00
1 parent ef30e27ad7
commit d23fd55134
3 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ function Header() {
const data: Notification[] = notifData || [];
setNotifications(data);
const hasUnread = data.some(n => n.pivot && n.pivot.unread === 1);
const hasUnread = data.some(n => n.read_at === null);
setunreadNotification(hasUnread);
} catch (err) {
console.error("Erreur initialisation Header:", err);