mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-26 02:24:43 +00:00
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