Fixing issue with users that don't have admin structure.
This commit is contained in:
parent
59de40c4ef
commit
0838a45efc
|
@ -36,8 +36,8 @@
|
||||||
.map(user => ({
|
.map(user => ({
|
||||||
...user,
|
...user,
|
||||||
group: ["All users"],
|
group: ["All users"],
|
||||||
developmentAccess: user.builder.global,
|
developmentAccess: !!user.builder?.global,
|
||||||
adminAccess: user.admin.global,
|
adminAccess: !!user.admin?.global,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
let createUserModal
|
let createUserModal
|
||||||
|
|
Loading…
Reference in New Issue