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.esm.js CHANGED
@@ -9621,8 +9621,9 @@ const AppsSidebar = ({
9621
9621
  }) => {
9622
9622
  if (!isOpen) return null;
9623
9623
  const theme = useTheme();
9624
- const appsGroupObj = Object.values(APP_OBJ).reduce((r, e) => {
9625
- if (blacklist.includes(e.path[env])) return r;
9624
+ const appsGroupObj = Object.keys(APP_OBJ).reduce((r, key) => {
9625
+ if (blacklist.includes(key)) return r;
9626
+ const e = APP_OBJ[key];
9626
9627
  if (r[e.group]) r[e.group].push(e);
9627
9628
  else r[e.group] = [e];
9628
9629
  return r;
@@ -9799,11 +9800,12 @@ const SystemMonitorScreen = ({ blacklist, env, onClickApp }) => {
9799
9800
  /* @__PURE__ */ jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsx(
9800
9801
  AppGrid,
9801
9802
  {
9802
- apps: Object.values(APP_OBJ).filter((e) => {
9803
- const isBlacklisted = !!blacklist?.includes(e.path[env]);
9803
+ apps: Object.keys(APP_OBJ).filter((key) => {
9804
+ const e = APP_OBJ[key];
9805
+ const isBlacklisted = !!blacklist?.includes(key);
9804
9806
  const isInSelectedGroup = tab === AppGroup.ALL ? true : e.group === tab;
9805
9807
  return !isBlacklisted && isInSelectedGroup;
9806
- }),
9808
+ }).map((key) => APP_OBJ[key]),
9807
9809
  iconSize: 80,
9808
9810
  iconRadius: 7,
9809
9811
  gap: PADDING_GAP_TAB,