Fix member role badge fallback
cgen-cbe6f37bf9304aea8c511c240fb231e9
This commit is contained in:
parent
17f3be72a0
commit
56a159b9f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue