@elqnt/react 1.0.10 → 1.0.11

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.
@@ -4615,7 +4615,7 @@ function OrgSelector() {
4615
4615
  const [orgAccess, setOrgAccess] = (0, import_react7.useState)([]);
4616
4616
  (0, import_react7.useEffect)(() => {
4617
4617
  if (user?.orgAccess) {
4618
- const formattedOrgAccess = user.orgAccess.map((org) => ({
4618
+ const formattedOrgAccess = user.orgAccess.filter((org) => org.orgId && org.orgTitle).map((org) => ({
4619
4619
  value: org.orgId,
4620
4620
  label: org.orgTitle
4621
4621
  }));