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
00c62d001e
commit
16228b8028
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue