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 00c62d001e
commit 16228b8028
1 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@
$: isUsersTable = tableId === TableNames.USERS $: isUsersTable = tableId === TableNames.USERS
$: { $: {
if (isUsersTable) { if (isUsersTable) {
schema.email.displayFieldName = "Email" schema.email?.displayFieldName = "Email"
schema.roleId.displayFieldName = "Role" schema.roleId?.displayFieldName = "Role"
schema.status.displayFieldName = "Status" schema.status?.displayFieldName = "Status"
} }
} }