mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
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:
@@ -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"),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user