Always reload the correct repo listing

Don't default to `all` repos for the repo listing reload, try to reload
the repo listing according to the `activeTab` props and else go with
`all`.
This commit is contained in:
Sebastian Martinez
2025-04-16 15:48:33 +02:00
committed by Rūdolfs Ošiņš
parent 473ff8ed6c
commit fd4b2f2335
+1 -1
View File
@@ -63,7 +63,7 @@
async function reload() {
[repos, repoCount, config] = await Promise.all([
invoke<RepoInfo[]>("list_repos", { show: "all" }),
invoke<RepoInfo[]>("list_repos", { show: activeTab ?? "all" }),
invoke<RepoCount>("repo_count"),
invoke<Config>("config"),
]);