Fix unread badge refresh and reply thread UI

This commit is contained in:
cyph3rasi
2026-03-08 00:31:21 -08:00
parent 98359886df
commit a8f104ee14
4 changed files with 46 additions and 24 deletions
+1
View File
@@ -69,6 +69,7 @@ export default function NotificationsPage() {
throw new Error('Failed to mark notifications as read');
}
setNotifications(prev => prev.map(n => ({ ...n, readAt: new Date().toISOString() })));
window.dispatchEvent(new Event('synapsis:notifications-updated'));
} catch (err) {
console.error('Failed to mark notifications as read:', err);
}