From 2936f2478c260cb47f0fec172598ad7a8f450267 Mon Sep 17 00:00:00 2001
From: Anil Singha <99383116+anilsingha-eGov@users.noreply.github.com>
Date: Mon, 8 Apr 2024 16:03:21 +0530
Subject: [PATCH] PFM-5996: Fixed employee side bar not working
---
.../libraries/src/services/molecules/Store/service.js | 2 +-
.../modules/core/src/components/TopBarSideBar/index.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Store/service.js b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Store/service.js
index 13174979b..6debb8dae 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Store/service.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/libraries/src/services/molecules/Store/service.js
@@ -88,7 +88,7 @@ export const StoreService = {
.flat()
.reduce((unique, ele) => (unique.find((item) => item.code === ele.code) ? unique : [...unique, ele]), []);
initData.tenants = MdmsRes?.tenant?.tenants
- ?.filter((x) => x.pgrEnabled)
+ // ?.filter((x) => x.pgrEnabled)
.map((tenant) => ({
i18nKey: `TENANT_TENANTS_${tenant.code.replace(".", "_").toUpperCase()}`,
...tenant,
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/core/src/components/TopBarSideBar/index.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/core/src/components/TopBarSideBar/index.js
index dec6eb104..acafcd34e 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/core/src/components/TopBarSideBar/index.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/core/src/components/TopBarSideBar/index.js
@@ -57,7 +57,7 @@ const TopBarSideBar = ({
showLanguageChange={showLanguageChange}
/>
{showDialog && }
- {/* {showSidebar && (
+ {showSidebar && (
- )} */}
+ )}
);
};