feat: badge count on Federation tab for pending approval requests
This commit is contained in:
@@ -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" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user