Skip to content

Commit

Permalink
Merge pull request #435 from MohamedSabthar/sabthar
Browse files Browse the repository at this point in the history
Fix UI fails to render user management section for admin users in the sidebar
  • Loading branch information
DedunuKarunarathne authored Dec 13, 2024
2 parents d9a3064 + 9f4ecca commit b50991d
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 b50991d

Please sign in to comment.