feat: badge count on Federation tab for pending approval requests

This commit is contained in:
Jannis Braun
2026-04-20 15:10:56 +02:00
parent 975ef93cc0
commit 9e3c411e80
3 changed files with 18 additions and 11 deletions
@@ -22,6 +22,11 @@ export function SettingsTabBar() {
}`}
>
{s.label}
{s.badgeCount !== undefined && s.badgeCount > 0 && (
<span className="ml-1.5 text-[10px] font-medium px-1.5 py-0.5 rounded-full bg-accent-amber/15 text-accent-amber">
{s.badgeCount}
</span>
)}
{ctx.activeSection === s.id && (
<span className="absolute bottom-0 left-0 right-0 h-0.5 bg-accent-primary rounded-full" />
)}