소스 검색

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

Daniel Polito 8 달 전
부모
커밋
b1c44c7e5c
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/app/src/pages/layout.tsx

+ 2 - 0
packages/app/src/pages/layout.tsx

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