Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ui): hide Chat switcher when sidebar is collapsed

Louis Beaumont4415190e168a
diff --git a/apps/screenpipe-app-tauri/app/(main)/home/page.tsx b/apps/screenpipe-app-tauri/app/(main)/home/page.tsx
index e5d178e53..97bf60009 100644
--- a/apps/screenpipe-app-tauri/app/(main)/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/(main)/home/page.tsx
@@ -1638,7 +1638,6 @@ function HomeContent() {
</AppSidebar>
)}
</TooltipProvider>
- {!workflowsActive && sidebarCollapsed && workflowsAvailable && <div className="fixed left-3 top-10 z-40"><ProductSwitcher mode="screenpipe" compact onChange={changeMode} /></div>}
{/* Content.
min-w-0 matters: without it this flex item refuses to shrink