Skip to content

Commit 3338aeb

Browse files
committed
fix(web): retain panel controls through exit
1 parent cc440a8 commit 3338aeb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6262,7 +6262,7 @@ function ChatViewContent(props: ChatViewProps) {
62626262

62636263
return (
62646264
<div className="relative flex min-h-0 min-w-0 flex-1 overflow-hidden bg-background">
6265-
{(rightPanelOpen || rightPanelMaximized) && !shouldUseRightPanelSheet
6265+
{(rightPanelOpen || retainClosedRightPanelContent) && !shouldUseRightPanelSheet
62666266
? panelLayoutControls
62676267
: null}
62686268
<div
@@ -6288,7 +6288,7 @@ function ChatViewContent(props: ChatViewProps) {
62886288
COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS,
62896289
)}
62906290
>
6291-
{!rightPanelOpen && !rightPanelMaximized ? panelLayoutControls : null}
6291+
{!rightPanelOpen && !retainClosedRightPanelContent ? panelLayoutControls : null}
62926292
<ChatHeader
62936293
{...(!supportsPullRequests || threadRepository === null
62946294
? {}

0 commit comments

Comments
 (0)