mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
feat(desktop): Set Workspace Name Earlier to Improve Creation / Deletion (#12213)
This commit is contained in:
parent
081f065942
commit
b1c44c7e5c
1 changed files with 2 additions and 0 deletions
|
|
@ -2574,6 +2574,8 @@ export default function Layout(props: ParentProps) {
|
|||
|
||||
if (!created?.directory) return
|
||||
|
||||
setWorkspaceName(created.directory, created.branch, project.id, created.branch)
|
||||
|
||||
const local = project.worktree
|
||||
const key = workspaceKey(created.directory)
|
||||
const root = workspaceKey(local)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue