Use correct translation for LDAP mapper (#1030)

This commit is contained in:
Erik Jan de Wit 2021-08-20 17:50:05 +02:00 committed by GitHub
parent ddb556b9c9
commit 75fd4007d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,11 +104,9 @@ export const LdapMapperDetails = () => {
);
} catch (error) {
addError(
`user-federation:${
mapperId === "new"
? "common:mappingCreatedError"
: "common:mappingUpdatedError"
}`,
mapperId === "new"
? "common:mappingCreatedError"
: "common:mappingUpdatedError",
error
);
}