Skip to content

Commit

Permalink
Fix for group picker in the user details page to accommodate missing …
Browse files Browse the repository at this point in the history
…userGroups value on a user
  • Loading branch information
deanhannigan committed Mar 1, 2023
1 parent 8dd3498 commit acda2d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
return list.map(item => {
return {
...item,
selected: selected.find(x => x === item._id) != null,
selected: selected?.find(x => x === item._id) != null,
}
})
}
Expand Down

0 comments on commit acda2d0

Please sign in to comment.