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.es.js CHANGED
@@ -14360,7 +14360,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14360
14360
  zIndex: "99999999 !important"
14361
14361
  },
14362
14362
  children: [
14363
- /* @__PURE__ */ jsx(Avatar, { src: userData?.userprofile, sx: { width: "55px", height: "55px" }, children: userData?.fullName.trim().split(/\s+/).map((part) => part[0].toUpperCase()).join("") }),
14363
+ /* @__PURE__ */ jsx(Avatar, { src: userData?.userprofile, sx: { width: "55px", height: "55px" }, children: (userData?.fullName || "").trim().split(/\s+/).filter(Boolean).map((part) => part[0]?.toUpperCase()).join("") || "" }),
14364
14364
  /* @__PURE__ */ jsxs(
14365
14365
  Box,
14366
14366
  {