We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f15f8a6 commit 901173eCopy full SHA for 901173e
1 file changed
src/authz-module/audit-user/index.tsx
@@ -202,6 +202,9 @@ const AuditUserPage = () => {
202
type: 'success',
203
});
204
handleCloseConfirmDeletionModal();
205
+ if (remainingRolesCount === 0) {
206
+ navigate(AUTHZ_HOME_PATH);
207
+ }
208
},
209
onError: (error, retryVariables) => {
210
showErrorToast(error, () => runRevokeRole(retryVariables));
0 commit comments