summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/context
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-21 14:15:45 -0600
committerAdam <[email protected]>2026-01-21 14:21:58 -0600
commitae8cff22e5c21a7e5b428721a5a26a7feab9cf87 (patch)
tree1c8fbbbd8038db96064b87541b7e407298162e87 /packages/app/src/context
parent52535654e7a87343a0d631f29f76fab87a34de4d (diff)
downloadopencode-ae8cff22e5c21a7e5b428721a5a26a7feab9cf87.tar.gz
opencode-ae8cff22e5c21a7e5b428721a5a26a7feab9cf87.zip
fix(app): renaming non-git projects shouldn't affect other projects
Diffstat (limited to 'packages/app/src/context')
-rw-r--r--packages/app/src/context/layout.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/app/src/context/layout.tsx b/packages/app/src/context/layout.tsx
index d7d09aa39..7a3556290 100644
--- a/packages/app/src/context/layout.tsx
+++ b/packages/app/src/context/layout.tsx
@@ -296,7 +296,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
used.add(color)
setColors(project.worktree, color)
if (!project.id) continue
- void globalSdk.client.project.update({ projectID: project.id, icon: { color } })
+ void globalSdk.client.project.update({ projectID: project.id, directory: project.worktree, icon: { color } })
}
})