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