checks for user table props in table
This commit is contained in:
parent
7befe535fc
commit
fd7050697d
|
@ -45,10 +45,18 @@
|
||||||
schema[field].editable = false
|
schema[field].editable = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
if (schema.email) {
|
||||||
schema.email.displayName = "Email"
|
schema.email.displayName = "Email"
|
||||||
|
}
|
||||||
|
if (schema.roleId) {
|
||||||
schema.roleId.displayName = "Role"
|
schema.roleId.displayName = "Role"
|
||||||
|
}
|
||||||
|
if (schema.firstName) {
|
||||||
schema.firstName.displayName = "First Name"
|
schema.firstName.displayName = "First Name"
|
||||||
|
}
|
||||||
|
if (schema.lastName) {
|
||||||
schema.lastName.displayName = "Last Name"
|
schema.lastName.displayName = "Last Name"
|
||||||
|
}
|
||||||
if (schema.status) {
|
if (schema.status) {
|
||||||
schema.status.displayName = "Status"
|
schema.status.displayName = "Status"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue