sevago-sso-fe 1.0.79 → 1.0.80

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
@@ -7186,7 +7186,8 @@ const AppGrid = ({
7186
7186
  titleVariant = "subtitle1",
7187
7187
  titleColor,
7188
7188
  showPagination = true,
7189
- onClickApp
7189
+ onClickApp,
7190
+ isShowAppHidden = false
7190
7191
  }) => {
7191
7192
  const theme = useTheme();
7192
7193
  const pageSize = Math.max(1, columns * Math.max(1, rows));
@@ -7198,8 +7199,8 @@ const AppGrid = ({
7198
7199
  const start = page * pageSize;
7199
7200
  const end = start + pageSize;
7200
7201
  const visibleApps = totalPages > 1 ? apps.slice(start, end) : apps;
7201
- const placeholdersCount = Math.max(0, pageSize - visibleApps.length);
7202
- const placeholderHeight = iconSize + 36.5;
7202
+ const placeholdersCount = isShowAppHidden ? Math.max(0, pageSize - visibleApps.length) : 0;
7203
+ const placeholderHeight = isShowAppHidden ? iconSize + 36.5 : 0;
7203
7204
  return /* @__PURE__ */ jsxs(Box, { sx: { position: "relative" }, children: [
7204
7205
  /* @__PURE__ */ jsxs(
7205
7206
  Box,
@@ -9806,7 +9807,8 @@ const SystemMonitorScreen = ({ blacklist, env, onClickApp }) => {
9806
9807
  iconSize: 80,
9807
9808
  iconRadius: 7,
9808
9809
  gap: PADDING_GAP_TAB,
9809
- onClickApp
9810
+ onClickApp,
9811
+ isShowAppHidden: true
9810
9812
  }
9811
9813
  ) }, tab)
9812
9814
  ]