sevago-sso-fe 1.0.28 → 1.0.29
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 +0 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +0 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10638,7 +10638,6 @@ const initSockets = (store2) => {
|
|
|
10638
10638
|
};
|
|
10639
10639
|
const socketConfig = (namespace, roomId) => {
|
|
10640
10640
|
if (sockets[namespace]) return sockets[namespace];
|
|
10641
|
-
console.log("namespace", namespace);
|
|
10642
10641
|
if (!manager) throw new Error("Please initial socket at app!");
|
|
10643
10642
|
const socket = manager.socket(`/${namespace}`, {
|
|
10644
10643
|
auth: { token: currentToken, roomId }
|
|
@@ -12851,7 +12850,6 @@ const useApps = (tab = AppCategory.ALL) => {
|
|
|
12851
12850
|
const userType = useSelector(
|
|
12852
12851
|
(state) => state.account.user?.type
|
|
12853
12852
|
);
|
|
12854
|
-
console.log("userType", userType);
|
|
12855
12853
|
const listApp = useMemo(() => {
|
|
12856
12854
|
let filteredApps = SYSTEM_MODULES.filter((app2) => {
|
|
12857
12855
|
return app2.allowUserTypes.includes(userType);
|
|
@@ -12861,7 +12859,6 @@ const useApps = (tab = AppCategory.ALL) => {
|
|
|
12861
12859
|
}
|
|
12862
12860
|
return filteredApps;
|
|
12863
12861
|
}, [tab, userType]);
|
|
12864
|
-
console.log("listApp", listApp);
|
|
12865
12862
|
return listApp;
|
|
12866
12863
|
};
|
|
12867
12864
|
const useIsSystemMonitor = () => {
|
|
@@ -33804,7 +33801,6 @@ const AppsSidebar = ({
|
|
|
33804
33801
|
const { setActiveExpandMenu } = useSidebar();
|
|
33805
33802
|
const { palette } = useTheme();
|
|
33806
33803
|
if (!isOpen) return null;
|
|
33807
|
-
console.log("allApps", allApps);
|
|
33808
33804
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33809
33805
|
/* @__PURE__ */ jsx(
|
|
33810
33806
|
Box,
|