mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Merge pull request #2243 from warrickct/show-group-members-freeze-fix
fix group members sorting causing error.
This commit is contained in:
commit
f4bf960568
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const ClassicMemberList = (props: {
|
|||
}
|
||||
let currentMembers = convoProps.members || [];
|
||||
const { groupAdmins } = convoProps;
|
||||
currentMembers = currentMembers.sort(m => (groupAdmins?.includes(m) ? -1 : 0));
|
||||
currentMembers = [...currentMembers].sort(m => (groupAdmins?.includes(m) ? -1 : 0));
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue