From 4d71138f701a0a7ae75cfc87f2eb6b90f7087761 Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Fri, 8 Sep 2023 11:43:19 -0300 Subject: [PATCH] Attributes without a value set are not rendered in the account console (#22968) Closes #22961 --- .../app/content/account-page/AccountPage.tsx | 84 +++++++++---------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/account-page/AccountPage.tsx b/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/account-page/AccountPage.tsx index 292e413f95..97d3f62b1e 100644 --- a/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/account-page/AccountPage.tsx +++ b/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/account-page/AccountPage.tsx @@ -197,7 +197,7 @@ export class AccountPage extends React.Component )} - {!this.isUpdateEmailFeatureEnabled && fields.email != undefined && } - { fields.firstName != undefined && + - - - } - {fields.lastName != undefined && + + + - - - } + > + {features.isInternationalizationEnabled && (