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