fix: admin org list without members (#11051)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Leo Giovanetti
2023-08-31 19:11:28 +00:00
committed by GitHub
co-authored by Peer Richelsen
parent 9b043f44a0
commit 3010900358
@@ -59,7 +59,9 @@ function AdminOrgTable() {
</div>
</Cell>
<Cell widthClassNames="w-auto">
<span className="break-all">{org.members[0].user.email}</span>
<span className="break-all">
{org.members.length ? org.members[0].user.email : "No members"}
</span>
</Cell>
<Cell>
<div className="space-x-2">