mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
fix(app): renaming non-git projects shouldn't affect other projects
This commit is contained in:
parent
52535654e7
commit
ae8cff22e5
3 changed files with 3 additions and 2 deletions
|
|
@ -75,6 +75,7 @@ export function DialogEditProject(props: { project: LocalProject }) {
|
|||
const name = store.name.trim() === folderName() ? "" : store.name.trim()
|
||||
await globalSDK.client.project.update({
|
||||
projectID: props.project.id,
|
||||
directory: props.project.worktree,
|
||||
name,
|
||||
icon: { color: store.color, override: store.iconUrl },
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue