feature/IO-3096-GlobalNotifications - Checkpoint - Notification Center
This commit is contained in:
@@ -22,7 +22,9 @@ const NotificationCenterComponent = ({
|
||||
console.log(`Rendering notification ${index}:`, {
|
||||
id: notification.id,
|
||||
scenarioTextLength: notification.scenarioText.length,
|
||||
key: `${notification.id}-${index}`
|
||||
read: notification.read,
|
||||
created_at: notification.created_at,
|
||||
associationid: notification.associationid // Log associationid for debugging
|
||||
});
|
||||
return (
|
||||
<List.Item
|
||||
@@ -45,11 +47,16 @@ const NotificationCenterComponent = ({
|
||||
);
|
||||
};
|
||||
|
||||
console.log("Rendering NotificationCenter with notifications:", {
|
||||
count: notifications.length,
|
||||
ids: notifications.map((n) => n.id),
|
||||
totalCount: notifications.length
|
||||
});
|
||||
console.log(
|
||||
"Rendering NotificationCenter with notifications:",
|
||||
notifications.length,
|
||||
notifications.map((n) => ({
|
||||
id: n.id,
|
||||
read: n.read,
|
||||
created_at: n.created_at,
|
||||
associationid: n.associationid
|
||||
}))
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={`notification-center ${visible ? "visible" : ""}`}>
|
||||
|
||||
Reference in New Issue
Block a user