navigate to card view after delete

This commit is contained in:
mfrances 2021-01-27 17:09:59 -05:00
parent ad7be3a62e
commit ca79f3da29

View file

@ -119,6 +119,7 @@ export const UserFederationKerberosSettings = () => {
try { try {
await adminClient.components.del({ id }); await adminClient.components.del({ id });
addAlert(t("userFedDeletedSuccess"), AlertVariant.success); addAlert(t("userFedDeletedSuccess"), AlertVariant.success);
history.replace(`/${realm}/user-federation`);
} catch (error) { } catch (error) {
addAlert(`${t("userFedDeleteError")} ${error}`, AlertVariant.danger); addAlert(`${t("userFedDeleteError")} ${error}`, AlertVariant.danger);
} }