Skip to content

Commit

Permalink
Fix UI fails to render user management section for admin users in the…
Browse files Browse the repository at this point in the history
… sidebar
  • Loading branch information
MohamedSabthar committed Dec 6, 2024
1 parent 4d11434 commit 9f4ecca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function Navigator(props) {
if(userScope !== "admin"){
return miCategories.filter(category => category.id === "General");
}
if (AuthManager.getUser()?.sso || AuthManager.getUser()?.isFileBasedUserStoreEnabled) {
if (AuthManager.getUser()?.sso) {
return miCategories.map(category => ({
...category,
children: category.children
Expand Down

0 comments on commit 9f4ecca

Please sign in to comment.