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.esm.js
CHANGED
|
@@ -13750,8 +13750,8 @@ const AppGrid = ({
|
|
|
13750
13750
|
gap: gap2
|
|
13751
13751
|
},
|
|
13752
13752
|
children: visibleApps.map((app, index) => {
|
|
13753
|
-
const appUrl = app.path[env];
|
|
13754
|
-
const absoluteUrl = appUrl.startsWith("https://") ? appUrl : `${window.location.origin}${appUrl.startsWith("/") ? appUrl : `/${appUrl}`}
|
|
13753
|
+
const appUrl = app.path?.[env];
|
|
13754
|
+
const absoluteUrl = typeof appUrl === "string" ? appUrl.startsWith("https://") ? appUrl : `${window.location.origin}${appUrl.startsWith("/") ? appUrl : `/${appUrl}`}` : "#";
|
|
13755
13755
|
return /* @__PURE__ */ jsx(
|
|
13756
13756
|
"a",
|
|
13757
13757
|
{
|
|
@@ -14188,9 +14188,11 @@ const SystemMonitorScreen = ({
|
|
|
14188
14188
|
/* @__PURE__ */ jsx(MotionBox, { preset: "tabContent", children: /* @__PURE__ */ jsx(
|
|
14189
14189
|
AppGrid,
|
|
14190
14190
|
{
|
|
14191
|
-
apps: Object.values(APP_OBJ).filter(
|
|
14192
|
-
|
|
14193
|
-
|
|
14191
|
+
apps: Object.values(APP_OBJ).filter((e) => {
|
|
14192
|
+
const isBlacklisted = !!blacklist?.includes(e.path[env]);
|
|
14193
|
+
const isInSelectedGroup = tab === AppGroup.ALL ? true : e.group === tab;
|
|
14194
|
+
return !isBlacklisted && isInSelectedGroup;
|
|
14195
|
+
}),
|
|
14194
14196
|
iconSize: 80,
|
|
14195
14197
|
iconRadius: 7,
|
|
14196
14198
|
gap: PADDING_GAP_TAB,
|