fix: mark notification as read when link is visited
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user