Browse Source

fix(desktop): issue viewing new files opened from the file tree (#13689)

Shane Bishop 6 tháng trước cách đây
mục cha
commit
cf50a289db
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/app/src/pages/session.tsx

+ 1 - 0
packages/app/src/pages/session.tsx

@@ -272,6 +272,7 @@ export default function Page() {
     if (!path) return
     file.load(path)
     openReviewPanel()
+    tabs().setActive(next)
   }
 
   createEffect(() => {