From 60fcf0472ee7210472c8d493efd1cdcc77eb0dbd Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 13 Jan 2026 19:07:40 +0530 Subject: [PATCH] fix: mark notification as read when link is visited --- frontend/src/pages/Notifications.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/pages/Notifications.vue b/frontend/src/pages/Notifications.vue index 69db7e15..8e9afeb4 100644 --- a/frontend/src/pages/Notifications.vue +++ b/frontend/src/pages/Notifications.vue @@ -230,6 +230,7 @@ const handleMarkAsRead = (logName) => { const navigateToPage = (log) => { if (!log.link) return + handleMarkAsRead(log.name) let link = log.link.split('/') if (link[2] == 'courses') { router.push({