You've already forked AstralRinth
forked from didirus/AstralRinth
Fix: Notifications are always unread on small windows (#1347)
This commit is contained in:
@@ -236,7 +236,7 @@
|
|||||||
to="/dashboard/notifications"
|
to="/dashboard/notifications"
|
||||||
class="tab button-animation"
|
class="tab button-animation"
|
||||||
:class="{
|
:class="{
|
||||||
bubble: user.notifications.length > 0,
|
bubble: user.notifications.some((notif) => !notif.read),
|
||||||
'no-active': isMobileMenuOpen || isBrowseMenuOpen,
|
'no-active': isMobileMenuOpen || isBrowseMenuOpen,
|
||||||
}"
|
}"
|
||||||
title="Notifications"
|
title="Notifications"
|
||||||
|
|||||||
Reference in New Issue
Block a user