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.cjs.js
CHANGED
|
@@ -7204,7 +7204,8 @@ const AppGrid = ({
|
|
|
7204
7204
|
titleVariant = "subtitle1",
|
|
7205
7205
|
titleColor,
|
|
7206
7206
|
showPagination = true,
|
|
7207
|
-
onClickApp
|
|
7207
|
+
onClickApp,
|
|
7208
|
+
isShowAppHidden = false
|
|
7208
7209
|
}) => {
|
|
7209
7210
|
const theme = useTheme();
|
|
7210
7211
|
const pageSize = Math.max(1, columns * Math.max(1, rows));
|
|
@@ -7216,8 +7217,8 @@ const AppGrid = ({
|
|
|
7216
7217
|
const start = page * pageSize;
|
|
7217
7218
|
const end = start + pageSize;
|
|
7218
7219
|
const visibleApps = totalPages > 1 ? apps.slice(start, end) : apps;
|
|
7219
|
-
const placeholdersCount = Math.max(0, pageSize - visibleApps.length);
|
|
7220
|
-
const placeholderHeight = iconSize + 36.5;
|
|
7220
|
+
const placeholdersCount = isShowAppHidden ? Math.max(0, pageSize - visibleApps.length) : 0;
|
|
7221
|
+
const placeholderHeight = isShowAppHidden ? iconSize + 36.5 : 0;
|
|
7221
7222
|
return /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { position: "relative" }, children: [
|
|
7222
7223
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
7223
7224
|
material.Box,
|
|
@@ -9824,7 +9825,8 @@ const SystemMonitorScreen = ({ blacklist, env, onClickApp }) => {
|
|
|
9824
9825
|
iconSize: 80,
|
|
9825
9826
|
iconRadius: 7,
|
|
9826
9827
|
gap: PADDING_GAP_TAB,
|
|
9827
|
-
onClickApp
|
|
9828
|
+
onClickApp,
|
|
9829
|
+
isShowAppHidden: true
|
|
9828
9830
|
}
|
|
9829
9831
|
) }, tab)
|
|
9830
9832
|
]
|