Move follower count to tab title. Closes #1698

This commit is contained in:
Gabe Kangas
2022-01-24 14:35:15 -08:00
parent 8943be9bf9
commit 50b0bfbc4e
2 changed files with 5 additions and 6 deletions

View File

@@ -831,7 +831,10 @@ export default class App extends Component {
if (federation.enabled) {
TAB_CONTENT.push({
label: 'Followers',
label: html`Followers
${federation.followerCount > 10
? `${' '}(${federation.followerCount})`
: null}`,
content: html`<${Followers} />`,
});
}