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:
commit
de66e531b5
|
@ -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,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue