sevago-sso-fe 1.0.80 → 1.0.81

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 CHANGED
@@ -9639,8 +9639,9 @@ const AppsSidebar = ({
9639
9639
  }) => {
9640
9640
  if (!isOpen) return null;
9641
9641
  const theme = useTheme();
9642
- const appsGroupObj = Object.values(APP_OBJ).reduce((r, e) => {
9643
- if (blacklist.includes(e.path[env])) return r;
9642
+ const appsGroupObj = Object.keys(APP_OBJ).reduce((r, key) => {
9643
+ if (blacklist.includes(key)) return r;
9644
+ const e = APP_OBJ[key];
9644
9645
  if (r[e.group]) r[e.group].push(e);
9645
9646
  else r[e.group] = [e];
9646
9647
  return r;
@@ -9817,11 +9818,12 @@ const SystemMonitorScreen = ({ blacklist, env, onClickApp }) => {
9817
9818
  /* @__PURE__ */ jsxRuntime.jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsxRuntime.jsx(
9818
9819
  AppGrid,
9819
9820
  {
9820
- apps: Object.values(APP_OBJ).filter((e) => {
9821
- const isBlacklisted = !!blacklist?.includes(e.path[env]);
9821
+ apps: Object.keys(APP_OBJ).filter((key) => {
9822
+ const e = APP_OBJ[key];
9823
+ const isBlacklisted = !!blacklist?.includes(key);
9822
9824
  const isInSelectedGroup = tab === AppGroup.ALL ? true : e.group === tab;
9823
9825
  return !isBlacklisted && isInSelectedGroup;
9824
- }),
9826
+ }).map((key) => APP_OBJ[key]),
9825
9827
  iconSize: 80,
9826
9828
  iconRadius: 7,
9827
9829
  gap: PADDING_GAP_TAB,