From 62afff6d52f29f49184f4c0763210684193b44f8 Mon Sep 17 00:00:00 2001 From: Eduard Gert Date: Thu, 18 Jun 2026 18:17:49 +0200 Subject: [PATCH] fix active profile name --- client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx b/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx index ad1ed3274..e76e300c1 100644 --- a/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx +++ b/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx @@ -68,7 +68,10 @@ export const ProfileDropdown = ({ onManageProfiles }: ProfileDropdownProps) => { if (!loaded) return ; const hasProfile = !!activeProfileId; - const displayName = hasProfile ? activeProfile : t("profile.selector.noProfile"); + const activeFromList = profiles.find((p) => p.id === activeProfileId)?.name; + const displayName = hasProfile + ? (activeFromList ?? activeProfile) + : t("profile.selector.noProfile"); return (