message: fixed creating new ldap settings
diff: @@ -211,14 +211,12 @@ export const UserFederationLdapSettings = () => {
  const save = async (component: ComponentRepresentation) => {
  try {
  - if (id) {
  - if (id === "new") {
  + if (!id) {
  await adminClient.components.create(component);
  history.push(`/${realm}/user-federation`);
  } else {
  await adminClient.components.update({ id }, component);
  }
  - }
  setupForm(component as ComponentRepresentation);
  addAlert(
  t(id === "new" ? "createSuccess" : "saveSuccess"),
  