From 779af42601bc663504cb26180567253c12d72762 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Fri, 20 Jun 2025 18:26:44 -0500 Subject: [PATCH] fix: username never falling back to email --- app/routes/machines/components/machine-row.tsx | 2 +- app/routes/machines/machine.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/routes/machines/components/machine-row.tsx b/app/routes/machines/components/machine-row.tsx index 285e7fb..f1860e0 100644 --- a/app/routes/machines/components/machine-row.tsx +++ b/app/routes/machines/components/machine-row.tsx @@ -64,7 +64,7 @@ export default function MachineRow({ {node.givenName}

- {node.user.name ?? node.user.email} + {node.user.name || node.user.email}

{mapTagsToComponents(node, uiTags)} diff --git a/app/routes/machines/machine.tsx b/app/routes/machines/machine.tsx index ae3f892..7f24cd6 100644 --- a/app/routes/machines/machine.tsx +++ b/app/routes/machines/machine.tsx @@ -109,7 +109,7 @@ export default function Page() {
- {node.user.name ?? node.user.email} + {node.user.name || node.user.email}
@@ -254,7 +254,7 @@ export default function Page() { className="w-full max-w-full grid grid-cols-1 lg:grid-cols-2 gap-y-2 sm:gap-x-12" >
- +