fix: mark notification as read when link is visited

This commit is contained in:
Jannat Patel
2026-01-13 19:07:40 +05:30
parent a09599ec8a
commit 60fcf0472e

View File

@@ -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({