Fixing a minor issue, making sure only trying to add displayFieldColumn when the app has that column (older ones may not yet).
This commit is contained in:
parent
d250afe9c0
commit
97f8a5fd1e
|
@ -51,9 +51,9 @@
|
|||
$: isUsersTable = tableId === TableNames.USERS
|
||||
$: {
|
||||
if (isUsersTable) {
|
||||
schema.email.displayFieldName = "Email"
|
||||
schema.roleId.displayFieldName = "Role"
|
||||
schema.status.displayFieldName = "Status"
|
||||
schema.email?.displayFieldName = "Email"
|
||||
schema.roleId?.displayFieldName = "Role"
|
||||
schema.status?.displayFieldName = "Status"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue