1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00

removing use of optional chaining and just checking for status.

This commit is contained in:
mike12345567 2021-02-23 17:13:46 +00:00
parent 16228b8028
commit 704728cc3b

View file

@ -51,9 +51,11 @@
$: 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"
if (schema.status) {
schema.status.displayFieldName = "Status"
}
}
}