message: fix cancel error on empty new
diff: @@ -374,8 +374,12 @@ export const LdapMapperDetails = () => {
  <Button
  variant="link"
  onClick={() =>
  - history.push(
  - `/${realm}/user-federation/ldap/${mapping!.parentId}/mappers`
  + isNew
  + ? history.goBack()
  + : history.push(
  + `/${realm}/user-federation/ldap/${
  + mapping!.parentId
  + }/mappers`
  )
  }
  data-testid="ldap-cancel"
  