diff --git a/ui/src/components/agents/AgentGitPanel.tsx b/ui/src/components/agents/AgentGitPanel.tsx index 1b264be1..53f48b98 100644 --- a/ui/src/components/agents/AgentGitPanel.tsx +++ b/ui/src/components/agents/AgentGitPanel.tsx @@ -74,8 +74,8 @@ function readStoredPanelWidth(): number { } function readStoredPanelCollapsed(): boolean { - if (typeof window === "undefined") return false - return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) === "1" + if (typeof window === "undefined") return true + return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) !== "0" } function PanelResizeHandle({