diff --git a/web/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx index dfa45d9bf..58879e968 100644 --- a/web/components/workspace/sidebar-dropdown.tsx +++ b/web/components/workspace/sidebar-dropdown.tsx @@ -90,36 +90,40 @@ export const WorkspaceSidebarDropdown = observer(() => { }; return ( -
+
{({ open }) => ( <>
-
- {activeWorkspace?.logo && activeWorkspace.logo !== "" ? ( - Workspace Logo - ) : ( - activeWorkspace?.name?.charAt(0) ?? "..." +
+
+ {activeWorkspace?.logo && activeWorkspace.logo !== "" ? ( + Workspace Logo + ) : ( + activeWorkspace?.name?.charAt(0) ?? "..." + )} +
+ + {!sidebarCollapsed && ( +

+ {activeWorkspace?.name ? activeWorkspace.name : "Loading..."} +

)}
- {!sidebarCollapsed && ( -

- {activeWorkspace?.name ? activeWorkspace.name : "Loading..."} -

- )} - {!sidebarCollapsed && (