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 16:11:28 -03:00 committed by GitHub
parent 9b043f44a0
commit 3010900358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">