1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

checks for user table props in table

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-26 15:44:16 +02:00
parent 3326c24d37
commit 9b67bff0c9

View file

@ -45,10 +45,18 @@
schema[field].editable = false
}
})
schema.email.displayName = "Email"
schema.roleId.displayName = "Role"
schema.firstName.displayName = "First Name"
schema.lastName.displayName = "Last Name"
if (schema.email) {
schema.email.displayName = "Email"
}
if (schema.roleId) {
schema.roleId.displayName = "Role"
}
if (schema.firstName) {
schema.firstName.displayName = "First Name"
}
if (schema.lastName) {
schema.lastName.displayName = "Last Name"
}
if (schema.status) {
schema.status.displayName = "Status"
}