diff --git a/src/App.tsx b/src/App.tsx
index a69309e1f..2a4985189 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -125,7 +125,7 @@ function MainApp() {
debugOpen,
setDebugOpen,
debugEntries,
- hasDebugAlerts,
+ showDebugButton,
addDebugEntry,
handleCopyDebug,
clearDebugEntries
@@ -619,7 +619,7 @@ function MainApp() {
handleApprovalDecision,
onOpenSettings: handleOpenSettings,
onOpenDebug: handleDebugClick,
- hasDebugAlerts,
+ showDebugButton,
onAddWorkspace: handleAddWorkspace,
onSelectHome: selectHome,
onSelectWorkspace: (workspaceId) => {
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 9f5fb230a..671260240 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -20,7 +20,7 @@ type SidebarProps = {
accountRateLimits: RateLimitSnapshot | null;
onOpenSettings: () => void;
onOpenDebug: () => void;
- hasDebugAlerts: boolean;
+ showDebugButton: boolean;
onAddWorkspace: () => void;
onSelectHome: () => void;
onSelectWorkspace: (id: string) => void;
@@ -44,7 +44,7 @@ export function Sidebar({
accountRateLimits,
onOpenSettings,
onOpenDebug,
- hasDebugAlerts,
+ showDebugButton,
onAddWorkspace,
onSelectHome,
onSelectWorkspace,
@@ -733,7 +733,7 @@ export function Sidebar({
>
- {hasDebugAlerts && (
+ {showDebugButton && (