From 9f4ecca845d8e37d047053d4f690d38d7976d38a Mon Sep 17 00:00:00 2001 From: MohamedSabthar Date: Fri, 6 Dec 2024 15:36:18 +0530 Subject: [PATCH] Fix UI fails to render user management section for admin users in the sidebar --- .../web-app/src/home/layout/Navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring-dashboard/components/org.wso2.micro.integrator.dashboard.web/web-app/src/home/layout/Navigator.js b/monitoring-dashboard/components/org.wso2.micro.integrator.dashboard.web/web-app/src/home/layout/Navigator.js index 672e04b2d..a71df5400 100644 --- a/monitoring-dashboard/components/org.wso2.micro.integrator.dashboard.web/web-app/src/home/layout/Navigator.js +++ b/monitoring-dashboard/components/org.wso2.micro.integrator.dashboard.web/web-app/src/home/layout/Navigator.js @@ -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