Merge pull request #9847 from Budibase/fix/accommodate-empty-usergroups

Fix for group picker in the portal user details section
This commit is contained in:
Martin McKeaveney 2023-03-01 21:51:11 +00:00 committed by GitHub
commit de66e531b5
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}
})
}