sevago-sso-fe 1.0.25 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12869,6 +12869,7 @@ const useApps = (tab) => {
|
|
|
12869
12869
|
const userType = reactRedux.useSelector(
|
|
12870
12870
|
(state) => state.account.user?.type
|
|
12871
12871
|
);
|
|
12872
|
+
console.log("userType", userType);
|
|
12872
12873
|
const listApp = React.useMemo(() => {
|
|
12873
12874
|
let filteredApps = SYSTEM_MODULES.filter((app2) => {
|
|
12874
12875
|
return app2.allowUserTypes.includes(userType);
|
|
@@ -12878,6 +12879,7 @@ const useApps = (tab) => {
|
|
|
12878
12879
|
}
|
|
12879
12880
|
return filteredApps;
|
|
12880
12881
|
}, [tab, userType]);
|
|
12882
|
+
console.log("listApp", listApp);
|
|
12881
12883
|
return listApp;
|
|
12882
12884
|
};
|
|
12883
12885
|
const useIsSystemMonitor = () => {
|
|
@@ -33820,6 +33822,7 @@ const AppsSidebar = ({
|
|
|
33820
33822
|
const { setActiveExpandMenu } = useSidebar();
|
|
33821
33823
|
const { palette } = useTheme();
|
|
33822
33824
|
if (!isOpen) return null;
|
|
33825
|
+
console.log("allApps", allApps);
|
|
33823
33826
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33824
33827
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33825
33828
|
material.Box,
|