mirror of
https://github.com/keycloak/keycloak.git
synced 2026-06-07 07:44:35 -04:00
Expand IDP display name message keys in the account console linked accounts page
Some checks failed
Weblate Sync / Trigger Weblate to pull the latest changes (push) Has been cancelled
Some checks failed
Weblate Sync / Trigger Weblate to pull the latest changes (push) Has been cancelled
Expand identity provider display names in the account console linked accounts
page before rendering them. This allows names with message key syntax (e.g.,
${idps.google.displayName}) to be unwrapped and rendered correctly based on
the selected locale.
Closes #46512
Signed-off-by: Mohammed Elbagoury <m.a.bagoury@gmail.com>
This commit is contained in:
parent
5d37617911
commit
5facde53fe
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
import { IconMapper, useEnvironment } from "@keycloak/keycloak-ui-shared";
|
||||
import {
|
||||
IconMapper,
|
||||
label,
|
||||
useEnvironment,
|
||||
} from "@keycloak/keycloak-ui-shared";
|
||||
import {
|
||||
Button,
|
||||
DataListAction,
|
||||
|
|
@ -63,7 +67,7 @@ export const AccountRow = ({
|
|||
</SplitItem>
|
||||
<SplitItem className="pf-v5-u-my-xs" isFilled>
|
||||
<span id={`${account.providerAlias}-idp-name`}>
|
||||
{account.displayName}
|
||||
{label(t, account.displayName)}
|
||||
</span>
|
||||
</SplitItem>
|
||||
</Split>
|
||||
|
|
|
|||
Loading…
Reference in a new issue