Fix for issue #24187 (#24244)

This commit is contained in:
kaustubh-rh 2023-10-24 16:36:55 +05:30 committed by GitHub
parent ad01ed1497
commit 66b0fd0c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,6 +316,7 @@ export const GroupTree = ({
if (canViewDetails || subGroups.at(-1)?.access?.view) {
navigate(toGroups({ realm, id: item.id }));
refresh();
} else {
addAlert(t("noViewRights"), AlertVariant.warning);
navigate(toGroups({ realm }));