Skip to content

Commit

Permalink
fixed logout conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Apr 15, 2024
1 parent 20cc3d3 commit 190ed31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-web/src/components/Sidebar/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const useSidebarConfig = () => {
title: "Logout",
icon: <LogoutOutlined />,
isBottom: true,
isHidden: isOss && !user?.username,
isHidden: isOss && !!user?.username,
onClick: () => {
AlertPopup({
title: "Logout",
Expand Down

0 comments on commit 190ed31

Please sign in to comment.