Remove logs
This commit is contained in:
parent
5a23eadd04
commit
b6247fb9e4
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
const getOptions = (roles, allowPublic, allowRemove, allowedRoles) => {
|
const getOptions = (roles, allowPublic, allowRemove, allowedRoles) => {
|
||||||
if (allowedRoles?.length) {
|
if (allowedRoles?.length) {
|
||||||
console.log(allowedRoles)
|
|
||||||
console.log(roles)
|
|
||||||
return roles.filter(role => allowedRoles.includes(role._id))
|
return roles.filter(role => allowedRoles.includes(role._id))
|
||||||
}
|
}
|
||||||
let newRoles = [...roles]
|
let newRoles = [...roles]
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
paginated: query ? null : false,
|
paginated: query ? null : false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
await usersFetch.refresh()
|
||||||
|
|
||||||
filteredUsers = $usersFetch.rows.map(user => {
|
filteredUsers = $usersFetch.rows.map(user => {
|
||||||
const isBuilderOrAdmin = user.admin?.global || user.builder?.global
|
const isBuilderOrAdmin = user.admin?.global || user.builder?.global
|
||||||
|
|
Loading…
Reference in New Issue