Skip to content

Commit

Permalink
[MM-62711] Don't count non-members in the provided list (mattermost#3…
Browse files Browse the repository at this point in the history
…0349)

Co-authored-by: Mattermost Build <build@mattermost.com>
  • Loading branch information
devinbinnie and mattermost-build authored Feb 28, 2025
1 parent d0d20ac commit 7ab585e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const MemberList = ({
<Member
channel={channel}
index={index}
totalUsers={members.length}
totalUsers={members.filter((l) => l.type === ListItemType.Member).length}
member={member}
editing={editing}
actions={{openDirectMessage}}
Expand Down

0 comments on commit 7ab585e

Please sign in to comment.