From 190ed31b422dffb370ff9858edda2875fd578294 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Mon, 15 Apr 2024 13:23:15 +0100 Subject: [PATCH] fixed logout conditional --- agenta-web/src/components/Sidebar/config.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-web/src/components/Sidebar/config.tsx b/agenta-web/src/components/Sidebar/config.tsx index 01071beda7..1d10720f60 100644 --- a/agenta-web/src/components/Sidebar/config.tsx +++ b/agenta-web/src/components/Sidebar/config.tsx @@ -252,7 +252,7 @@ export const useSidebarConfig = () => { title: "Logout", icon: , isBottom: true, - isHidden: isOss && !user?.username, + isHidden: isOss && !!user?.username, onClick: () => { AlertPopup({ title: "Logout",