diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info.gjs index 14dc516a594..d7eae9937e7 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info.gjs +++ b/plugins/chat/assets/javascripts/discourse/components/chat/routes/channel-info.gjs @@ -78,6 +78,11 @@ export default class ChatRoutesChannelInfo extends Component { @replace={{true}} > {{this.membersLabel}} + {{#if @channel.isCategoryChannel}} + ({{@channel.membershipsCount}}) + {{/if}} diff --git a/plugins/chat/assets/stylesheets/common/chat-channel-info.scss b/plugins/chat/assets/stylesheets/common/chat-channel-info.scss index 93dbca239d2..daf059c1d33 100644 --- a/plugins/chat/assets/stylesheets/common/chat-channel-info.scss +++ b/plugins/chat/assets/stylesheets/common/chat-channel-info.scss @@ -13,6 +13,10 @@ padding-bottom: 1rem; } } + + &__member-count { + margin-left: 0.25em; + } } .c-channel-members__add-members {