Added error message if user attribute save fails (#26592)
* added error message Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com> * feedback 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
c1ae9a0817
commit
1281cbf0c0
2 changed files with 3 additions and 1 deletions
|
@ -3043,4 +3043,5 @@ enableClientSignatureRequiredModal=Enable client signature required
|
|||
selectBindType=Select bind type
|
||||
searchClientAuthorizationResource=Search resource
|
||||
searchClientAuthorizationPolicy=Search policy
|
||||
searchClientAuthorizationPermission=Search permission
|
||||
searchClientAuthorizationPermission=Search permission
|
||||
userNotSaved=The user has not been saved\: {{error}}
|
|
@ -149,6 +149,7 @@ export default function EditUser() {
|
|||
if (isUserProfileError(error)) {
|
||||
setUserProfileServerError(error, form.setError, ((key, param) =>
|
||||
t(key as string, param as any)) as TFunction);
|
||||
addError("userNotSaved", error);
|
||||
} else {
|
||||
addError("userCreateError", error);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue