Fix member role badge fallback

cgen-cbe6f37bf9304aea8c511c240fb231e9
This commit is contained in:
Builder.io 2025-10-14 02:28:53 +00:00
parent 17f3be72a0
commit 56a159b9f7

View file

@ -331,7 +331,7 @@ const AdminMemberManager = ({
</TableCell>
<TableCell>
<Badge variant="outline" className="capitalize">
{(profile.role || roles[0] || "member").toLowerCase()}
{(profile.role || "member").toLowerCase()}
</Badge>
</TableCell>
</TableRow>