fix(ui): back recent header only when stuck

This commit is contained in:
Bohdan Triapitsyn
2026-07-29 18:56:22 +03:00
parent 98c716cf92
commit 4b976141e0
3 changed files with 49 additions and 4 deletions
@@ -1705,9 +1705,10 @@ const SessionSidebarComponent: React.FC<SessionSidebarProps> = ({
openSidebarMenuKey={openSidebarMenuKey}
expansionState={recentExpandedParents}
variant="section"
isDesktopShellRuntime={isDesktopShellRuntime}
/>
) : null,
[activitySections, editingId, hasSessionSearchQuery, isVSCode, openSidebarMenuKey, recentExpandedParents, renderSessionNode, showRecentSection],
[activitySections, editingId, hasSessionSearchQuery, isDesktopShellRuntime, isVSCode, openSidebarMenuKey, recentExpandedParents, renderSessionNode, showRecentSection],
);
const isInlineEditing = Boolean(renamingFolderId || editingId || editingProjectDialogId);