UX: chat > channel info: show member count on tab (#25439)

* UX: chat > channel info: show member count on tab
This commit is contained in:
chapoi 2024-01-26 13:10:56 +02:00 committed by GitHub
parent fbfab92fce
commit 08b882097a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -78,6 +78,11 @@ export default class ChatRoutesChannelInfo extends Component {
@replace={{true}} @replace={{true}}
> >
{{this.membersLabel}} {{this.membersLabel}}
{{#if @channel.isCategoryChannel}}
<span
class="c-channel-info__member-count"
>({{@channel.membershipsCount}})</span>
{{/if}}
</LinkTo> </LinkTo>
</li> </li>
</ul> </ul>

View File

@ -13,6 +13,10 @@
padding-bottom: 1rem; padding-bottom: 1rem;
} }
} }
&__member-count {
margin-left: 0.25em;
}
} }
.c-channel-members__add-members { .c-channel-members__add-members {