From fd4b2f2335cec91e7991830ec1b584d2d4369b2f Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 15 Apr 2025 09:50:44 +0200 Subject: [PATCH] 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`. --- src/views/home/Repos.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/home/Repos.svelte b/src/views/home/Repos.svelte index 2968f50a9..90b064f2e 100644 --- a/src/views/home/Repos.svelte +++ b/src/views/home/Repos.svelte @@ -63,7 +63,7 @@ async function reload() { [repos, repoCount, config] = await Promise.all([ - invoke("list_repos", { show: "all" }), + invoke("list_repos", { show: activeTab ?? "all" }), invoke("repo_count"), invoke("config"), ]);