sixseconds-modules 1.6.158 → 1.6.159

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
@@ -14378,7 +14378,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14378
14378
  zIndex: "99999999 !important"
14379
14379
  },
14380
14380
  children: [
14381
- /* @__PURE__ */ jsxRuntime.jsx(material.Avatar, { src: userData?.userprofile, sx: { width: "55px", height: "55px" }, children: userData?.fullName.trim().split(/\s+/).map((part) => part[0].toUpperCase()).join("") }),
14381
+ /* @__PURE__ */ jsxRuntime.jsx(material.Avatar, { src: userData?.userprofile, sx: { width: "55px", height: "55px" }, children: (userData?.fullName || "").trim().split(/\s+/).filter(Boolean).map((part) => part[0]?.toUpperCase()).join("") || "" }),
14382
14382
  /* @__PURE__ */ jsxRuntime.jsxs(
14383
14383
  material.Box,
14384
14384
  {