@elqnt/react 1.0.9 → 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.
@@ -4543,7 +4543,7 @@ function OrgSelector() {
4543
4543
  const [orgAccess, setOrgAccess] = useState6([]);
4544
4544
  useEffect4(() => {
4545
4545
  if (user?.orgAccess) {
4546
- const formattedOrgAccess = user.orgAccess.map((org) => ({
4546
+ const formattedOrgAccess = user.orgAccess.filter((org) => org.orgId && org.orgTitle).map((org) => ({
4547
4547
  value: org.orgId,
4548
4548
  label: org.orgTitle
4549
4549
  }));