feat(desktop): Set Workspace Name Earlier to Improve Creation / Deletion (#12213)
This commit is contained in:
@@ -2574,6 +2574,8 @@ export default function Layout(props: ParentProps) {
|
|||||||
|
|
||||||
if (!created?.directory) return
|
if (!created?.directory) return
|
||||||
|
|
||||||
|
setWorkspaceName(created.directory, created.branch, project.id, created.branch)
|
||||||
|
|
||||||
const local = project.worktree
|
const local = project.worktree
|
||||||
const key = workspaceKey(created.directory)
|
const key = workspaceKey(created.directory)
|
||||||
const root = workspaceKey(local)
|
const root = workspaceKey(local)
|
||||||
|
|||||||
Reference in New Issue
Block a user