Remove logs

This commit is contained in:
Andrew Kingston 2023-02-28 12:54:18 +00:00
parent 5a23eadd04
commit b6247fb9e4
2 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,6 @@
const getOptions = (roles, allowPublic, allowRemove, allowedRoles) => {
if (allowedRoles?.length) {
console.log(allowedRoles)
console.log(roles)
return roles.filter(role => allowedRoles.includes(role._id))
}
let newRoles = [...roles]

View File

@ -78,6 +78,7 @@
paginated: query ? null : false,
},
})
await usersFetch.refresh()
filteredUsers = $usersFetch.rows.map(user => {
const isBuilderOrAdmin = user.admin?.global || user.builder?.global