@seliseblocks/genesis-os 4.0.3 → 4.0.4

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.
@@ -5983,7 +5983,8 @@ var APP_SWITCHER_DATA = [
5983
5983
  redirectUri: "BLOCKS_IAM_CALLBACK_URL",
5984
5984
  initiateUrl: "",
5985
5985
  isLoading: false,
5986
- isDisabled: false
5986
+ isDisabled: false,
5987
+ forwardedTo: "/app/profile"
5987
5988
  },
5988
5989
  {
5989
5990
  id: "blocks-localization",
@@ -6143,7 +6144,7 @@ var AppSwitcher = ({ forwardedTo }) => {
6143
6144
  (app) => chunkUBF3PJTH_cjs.initiateService.fetchRedirectUrl({
6144
6145
  clientId: chunkHF24SZFI_cjs.getRuntimeEnv(app.clientId),
6145
6146
  redirectUri: chunkHF24SZFI_cjs.getRuntimeEnv(app.redirectUri),
6146
- forwardedTo: resolvedForwardedTo
6147
+ forwardedTo: app.forwardedTo ?? resolvedForwardedTo
6147
6148
  }).catch((err) => {
6148
6149
  console.error(
6149
6150
  `[AppSwitcher] Failed to get redirect URL for ${app.id}:`,
@@ -6201,10 +6202,10 @@ var AppSwitcher = ({ forwardedTo }) => {
6201
6202
  align: "end",
6202
6203
  sideOffset: 8,
6203
6204
  className: "w-60 overflow-hidden rounded-2xl p-0 shadow-xl",
6204
- children: blocksApps.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-muted/50 border-t px-3 pb-4 pt-3", children: [
6205
+ children: /* @__PURE__ */ jsxRuntime.jsx(RenderConditionally, { condition: blocksApps.length > 0, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-muted/50 border-t px-3 pb-4 pt-3", children: [
6205
6206
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-2 px-1 text-[13px] font-semibold", children: "SELISE Blocks" }),
6206
6207
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3", children: blocksApps.map((app) => /* @__PURE__ */ jsxRuntime.jsx(AppTile, { app, isLoading: app.isLoading }, app.id)) })
6207
- ] })
6208
+ ] }) })
6208
6209
  }
6209
6210
  )
6210
6211
  ] });
@@ -12190,5 +12191,5 @@ exports.useOidcContext = useOidcContext;
12190
12191
  exports.usePaginationQueryParams = usePaginationQueryParams;
12191
12192
  exports.useSortQueryParams = useSortQueryParams;
12192
12193
  exports.useWizardStepper = useWizardStepper;
12193
- //# sourceMappingURL=chunk-MLXV2TTM.cjs.map
12194
- //# sourceMappingURL=chunk-MLXV2TTM.cjs.map
12194
+ //# sourceMappingURL=chunk-RQVCPVYA.cjs.map
12195
+ //# sourceMappingURL=chunk-RQVCPVYA.cjs.map