From 7ae0b5cafd70dbdf1134f12a0a543496cf3f77b9 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sat, 13 Dec 2025 16:13:25 +0000 Subject: [PATCH] fix: Hide AI sidebar button when AI is disabled The button was showing when aiChatStore.enabled was undefined. Changed condition from 'enabled !== false' to 'enabled === true' to only show when AI is explicitly enabled. --- frontend-modern/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx index 4d335d0..1e03d1d 100644 --- a/frontend-modern/src/App.tsx +++ b/frontend-modern/src/App.tsx @@ -836,7 +836,7 @@ function App() { {/* Fixed AI Assistant Button - always visible on the side when AI is enabled */} - + {/* This component only shows when chat is closed */}