sevago-sso-fe 1.0.52 → 1.0.54
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 +7 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13768,8 +13768,8 @@ const AppGrid = ({
|
|
|
13768
13768
|
gap: gap2
|
|
13769
13769
|
},
|
|
13770
13770
|
children: visibleApps.map((app, index) => {
|
|
13771
|
-
const appUrl = app.path[env];
|
|
13772
|
-
const absoluteUrl = appUrl.startsWith("https://") ? appUrl : `${window.location.origin}${appUrl.startsWith("/") ? appUrl : `/${appUrl}`}
|
|
13771
|
+
const appUrl = app.path?.[env];
|
|
13772
|
+
const absoluteUrl = typeof appUrl === "string" ? appUrl.startsWith("https://") ? appUrl : `${window.location.origin}${appUrl.startsWith("/") ? appUrl : `/${appUrl}`}` : "#";
|
|
13773
13773
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
13774
13774
|
"a",
|
|
13775
13775
|
{
|
|
@@ -14206,9 +14206,11 @@ const SystemMonitorScreen = ({
|
|
|
14206
14206
|
/* @__PURE__ */ jsxRuntime.jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14207
14207
|
AppGrid,
|
|
14208
14208
|
{
|
|
14209
|
-
apps: Object.values(APP_OBJ).filter(
|
|
14210
|
-
|
|
14211
|
-
|
|
14209
|
+
apps: Object.values(APP_OBJ).filter((e) => {
|
|
14210
|
+
const isBlacklisted = !!blacklist?.includes(e.path[env]);
|
|
14211
|
+
const isInSelectedGroup = tab === AppGroup.ALL ? true : e.group === tab;
|
|
14212
|
+
return !isBlacklisted && isInSelectedGroup;
|
|
14213
|
+
}),
|
|
14212
14214
|
iconSize: 80,
|
|
14213
14215
|
iconRadius: 7,
|
|
14214
14216
|
gap: PADDING_GAP_TAB,
|