Fix: Notifications are always unread on small windows (#1347)

This commit is contained in:
Mysterious_Dev 2023-09-02 15:39:26 +02:00 committed by GitHub
parent 799d8003eb
commit d500c29493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"