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:
mike12345567 2021-02-23 17:08:35 +00:00
parent d250afe9c0
commit 97f8a5fd1e
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}
}