1
0
Fork 0
mirror of synced 2024-07-14 18:55:45 +12:00

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