From d500c29493874750e32dffcd6f78de7088b54ff6 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com> Date: Sat, 2 Sep 2023 15:39:26 +0200 Subject: [PATCH] Fix: Notifications are always unread on small windows (#1347) --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index 4499b362d..eb15692d2 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -236,7 +236,7 @@ to="/dashboard/notifications" class="tab button-animation" :class="{ - bubble: user.notifications.length > 0, + bubble: user.notifications.some((notif) => !notif.read), 'no-active': isMobileMenuOpen || isBrowseMenuOpen, }" title="Notifications"