Skip to content

Commit 4a65874

Browse files
committed
display group.total_member_count instead of group.members.length on the account page
1 parent b06f943 commit 4a65874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/UserSettingsPage/AccountPage/AccountUserGroups.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export const AccountUserGroups: FC<AccountGroupsProps> = ({
5757
header={group.display_name || group.name}
5858
subtitle={
5959
<>
60-
{group.members.length} member
61-
{group.members.length !== 1 && "s"}
60+
{group.total_member_count} member
61+
{group.total_member_count !== 1 && "s"}
6262
</>
6363
}
6464
/>

0 commit comments

Comments
 (0)