Skip to content

Commit b17502f

Browse files
CopilotBunsDev
andauthored
Fix file tree not visible when opening a project with no active thread (#115)
* Initial plan * fix: show file tree when project is expanded without an active thread Agent-Logs-Url: https://github.com/OpenKnots/okcode/sessions/96f8a0de-9710-4cb1-9674-1d481e293d8b Co-authored-by: BunsDev <68980965+BunsDev@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: BunsDev <68980965+BunsDev@users.noreply.github.com>
1 parent 322a78b commit b17502f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ export default function Sidebar() {
14801480
)}
14811481
</SidebarMenuSub>
14821482

1483-
{project.expanded && activeProjectThread && !appSettings.sidebarHideFiles ? (
1483+
{project.expanded && !appSettings.sidebarHideFiles ? (
14841484
<div className="mx-1.5 mt-1 rounded-lg border border-border/40 bg-background/50 p-2 dark:border-border/30 dark:bg-background/30">
14851485
<button
14861486
type="button"

0 commit comments

Comments
 (0)