1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00

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

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