navigate to card view after delete
This commit is contained in:
parent
ad7be3a62e
commit
ca79f3da29
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue