Skip to content

Commit

Permalink
Merge pull request Budibase#9847 from Budibase/fix/accommodate-empty-…
Browse files Browse the repository at this point in the history
…usergroups

Fix for group picker in the portal user details section
  • Loading branch information
shogunpurple authored Mar 1, 2023
2 parents 5253080 + acda2d0 commit 8cd9506
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 8cd9506

Please sign in to comment.