diff --git a/src/App.svelte b/src/App.svelte index 96034cc..4066aa5 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -5396,6 +5396,11 @@ {isBusy} language={appLanguage} onOpenManagement={openRepoManagement} + onOpenRepositories={() => { + const path = repoTabs.find(tab => sameRepoPath(tab.path, activeRepoPath))?.path ?? repoTabs[0]?.path; + if (path) return selectRepoTab(path); + return chooseRepositoryFolder(); + }} onOpenReviewCenter={() => openReviewCenter()} onOpenIssues={() => { activeView = "issues"; }} isActive={(path) => activeView === "repository" && sameRepoPath(activeRepoPath, path)} diff --git a/src/lib/RepoTabs.svelte b/src/lib/RepoTabs.svelte index ce56c04..2f1351b 100644 --- a/src/lib/RepoTabs.svelte +++ b/src/lib/RepoTabs.svelte @@ -1,5 +1,5 @@ -
- - -
- - - {#each repoTabs as repo (repo.path)} - - {/each} -
- - +
+ + {#if activeView === "repository"} + + {/if}
+ +