From d17a424e628e6eaf2f5fe9417a283adf5fb8ee8f Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 17 Dec 2024 17:45:56 +0100 Subject: [PATCH] #67 - fix menu project notification --- src/components/Menu.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Menu.vue b/src/components/Menu.vue index b547612..ea63424 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -163,7 +163,10 @@ function isCurrent(navItem) { function hasUnreadNotification(project) { if (!user.value) return false; return user.value.notifications.some((notification) => { - return project.uri.includes(notification.location.project.uri); + return ( + notification.isRead != true && + project.uri.includes(notification.location.project.uri) + ); }); }