diff --git a/packages/builder/src/components/backend/DataTable/Table.svelte b/packages/builder/src/components/backend/DataTable/Table.svelte index 5ed2d120da..459b1c0d59 100644 --- a/packages/builder/src/components/backend/DataTable/Table.svelte +++ b/packages/builder/src/components/backend/DataTable/Table.svelte @@ -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" + } } }