fix: fallback to user email when username is unset (#237)
This commit is contained in:
parent
2f316176c8
commit
a298686d6b
2 changed files with 5 additions and 3 deletions
|
|
@ -63,7 +63,9 @@ export default function MachineRow({
|
|||
>
|
||||
{node.givenName}
|
||||
</p>
|
||||
<p className="text-sm opacity-50">{node.user.name}</p>
|
||||
<p className="text-sm opacity-50">
|
||||
{node.user.name ?? node.user.email}
|
||||
</p>
|
||||
<div className="flex gap-1 flex-wrap mt-1.5">
|
||||
{mapTagsToComponents(node, uiTags)}
|
||||
{node.validTags.map((tag) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue