Update user list to show correct status

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-19 11:54:35 +02:00
parent 36b098bc73
commit 8a0f2aaa8e
1 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,7 @@
const schema = {
email: {},
status: { displayName: "Development Access", type: "boolean" },
developmentAccess: { displayName: "Development Access", type: "boolean" },
// role: { type: "options" },
group: {},
// access: {},
@ -32,7 +32,11 @@
let email
$: filteredUsers = $users
.filter(user => user.email.includes(search || ""))
.map(user => ({ ...user, group: ["All"] }))
.map(user => ({
...user,
group: ["All"],
developmentAccess: user.builder.global,
}))
let createUserModal
let basicOnboardingModal