sixseconds-modules 1.6.49 → 1.6.50

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
@@ -9076,13 +9076,15 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
9076
9076
  },
9077
9077
  children: [
9078
9078
  /* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: userData?.fullName }),
9079
- Boolean(userData?.role) && /* @__PURE__ */ jsxs(Typography, { component: "span", sx: { m: 0, fontSize: "14px", color: "#666666" }, children: [
9079
+ /* @__PURE__ */ jsxs(Typography, { component: "span", sx: { m: 0, fontSize: "14px", color: "#666666" }, children: [
9080
9080
  truncateValUtil(userData?.email || ""),
9081
9081
  " ",
9082
9082
  /* @__PURE__ */ jsx("br", {}),
9083
- "(",
9084
- userData?.role,
9085
- ")"
9083
+ Boolean(userData?.role) && /* @__PURE__ */ jsxs(Fragment, { children: [
9084
+ "(",
9085
+ userData?.role,
9086
+ ")"
9087
+ ] })
9086
9088
  ] })
9087
9089
  ]
9088
9090
  }
@@ -9252,7 +9254,19 @@ function Language({
9252
9254
  setInitialState((p) => ({ ...p, toggles: { ...p.toggles, lang: false } }));
9253
9255
  },
9254
9256
  children: /* @__PURE__ */ jsx(Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", alignItems: "center", justifyContent: "flex-start", gap: 2, children: [
9255
- /* @__PURE__ */ jsx("img", { src: lang2?.flag, alt: lang2?.label, width: 40, height: 25 }),
9257
+ /* @__PURE__ */ jsx(
9258
+ "img",
9259
+ {
9260
+ src: lang2?.flag,
9261
+ alt: lang2?.label,
9262
+ style: {
9263
+ width: "40px !important",
9264
+ height: "25px !important"
9265
+ },
9266
+ width: 40,
9267
+ height: 25
9268
+ }
9269
+ ),
9256
9270
  /* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(lang2?.label) }),
9257
9271
  selectedInterFaceLang?.value === lang2?.value && /* @__PURE__ */ jsx(CheckIcon, { sx: { color: "#007FC0", fontSize: "30px" } })
9258
9272
  ] }) })