fix: limit inbox notification count, close #505

This commit is contained in:
James Xylight committed 2025-03-19 19:23:23 -07:00
1 parent 9c3d04938d
commit c67c5256e6
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@
{$t('profile.inbox')}
{#if $notifications.inbox > 0}
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
{$notifications.inbox}
{$notifications.inbox > 99 ? '∞' : $notifications.inbox}
</Badge>
{/if}
</MenuButton>