feat(desktop): Set Workspace Name Earlier to Improve Creation / Deletion (#12213)

pull/12322/head^2
Daniel Polito 2026-02-05 16:38:31 -03:00 committed by GitHub
parent 081f065942
commit b1c44c7e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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)