From d5bf45b09f611b6062a5d1ead286bf2a94eb1dc8 Mon Sep 17 00:00:00 2001 From: David Edler Date: Wed, 20 Nov 2024 10:38:08 +0100 Subject: [PATCH] fix(logo) condition for microcloud is presence of user.microcloud, not dependant on the actual value itself Signed-off-by: David Edler --- src/components/Logo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx index dc32851cf6..f0ca5afdf2 100644 --- a/src/components/Logo.tsx +++ b/src/components/Logo.tsx @@ -7,7 +7,7 @@ const Logo: FC = () => { const { project, isLoading } = useProject(); const { data: settings } = useSettings(); - const isMicroCloud = settings?.config?.["user.microcloud"] === "true"; + const isMicroCloud = Boolean(settings?.config?.["user.microcloud"]); const src = isMicroCloud ? "/ui/assets/img/microCloud-logo.svg" : "/ui/assets/img/lxd-logo.svg";