User Profile attribute translation saves correct key to realm overrides (#28053)
* fix Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com> * refactor Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com> --------- Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com> Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
ceed62213d
commit
22aba84293
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ export const AttributeGeneralSettings = ({
|
||||||
translationKey={
|
translationKey={
|
||||||
editMode
|
editMode
|
||||||
? attributeDisplayName
|
? attributeDisplayName
|
||||||
: "${profile.attributes." + `${newAttributeName}}`
|
: `profile.attributes.${newAttributeName}`
|
||||||
}
|
}
|
||||||
onTranslationsAdded={handleTranslationsAdded}
|
onTranslationsAdded={handleTranslationsAdded}
|
||||||
toggleDialog={handleToggleDialog}
|
toggleDialog={handleToggleDialog}
|
||||||
|
|
Loading…
Reference in a new issue