mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 16:43:26 +00:00
fix: collapse git panel by default (#1494)
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
parent
4cabdb2351
commit
d0db48eacd
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ function readStoredPanelWidth(): number {
|
||||||
}
|
}
|
||||||
|
|
||||||
function readStoredPanelCollapsed(): boolean {
|
function readStoredPanelCollapsed(): boolean {
|
||||||
if (typeof window === "undefined") return false
|
if (typeof window === "undefined") return true
|
||||||
return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) === "1"
|
return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) !== "0"
|
||||||
}
|
}
|
||||||
|
|
||||||
function PanelResizeHandle({
|
function PanelResizeHandle({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue