mirror of https://github.com/zulip/zulip.git
user_group_popover: Show members count if there are empty subgroups.
We show "0 members" text when a group has no direct members but has subgroups which are all empty. The behavior for when a group has neither direct members nor subgroups is same where we show "This group has no members".
This commit is contained in:
parent
4a89fffd8a
commit
9a6ef9db93
|
@ -9,7 +9,7 @@
|
|||
<div class="popover-group-menu-description">{{group_description}}</div>
|
||||
</div>
|
||||
</li>
|
||||
{{#if members_count}}
|
||||
{{#if (or members.length subgroups.length)}}
|
||||
<li role="none" class="popover-menu-list-item text-item italic">
|
||||
{{#tr}}
|
||||
{members_count, plural, =1 {1 member} other {# members}}
|
||||
|
|
Loading…
Reference in New Issue