parent
f1a658da01
commit
579719c3bd
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export const MemberModal = ({ groupId, onClose }: MemberModalProps) => {
|
|||
|
||||
try {
|
||||
const users = await adminClient.users.find({ ...params });
|
||||
return _.xorBy(users, members, "id").slice(0, max);
|
||||
return _.differenceBy(users, members, "id").slice(0, max);
|
||||
} catch (error) {
|
||||
addAlert(t("noUsersFoundError", { error }), AlertVariant.danger);
|
||||
return [];
|
||||
|
|
Loading…
Reference in a new issue