From e98d7908744be815bcb127882cccfc38c4cef6a6 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 26 Apr 2026 12:31:25 +0200 Subject: [PATCH] fix: always show user badge for logout access When username is empty (e.g. email-registered OIDC users with no display name), the badge was hidden entirely, making logout inaccessible. Always render the badge with fallback text "Account". Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/components/LayoutShell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/LayoutShell.tsx b/ui/src/components/LayoutShell.tsx index b0115ff1..12ba9246 100644 --- a/ui/src/components/LayoutShell.tsx +++ b/ui/src/components/LayoutShell.tsx @@ -1062,7 +1062,7 @@ function LayoutContent() { } - user={username ? { name: username } : undefined} + user={{ name: username || 'Account' }} userMenuItems={userMenuItems} onLogout={handleLogout} onNavigate={navigate}