From d97c12c69255cc60e565e53af41b7dfa4c7a0b25 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 15 Apr 2025 09:48:26 +0200 Subject: [PATCH] Fix showing onboarding instructions when there's at least one repo in total --- src/views/home/Repos.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/home/Repos.svelte b/src/views/home/Repos.svelte index be8c10eac..817eac60b 100644 --- a/src/views/home/Repos.svelte +++ b/src/views/home/Repos.svelte @@ -151,7 +151,7 @@ {/if} - {#if repos.length > 0} + {#if repoCount.total > 0} {#if searchResults.length > 0}
{#each searchResults as result} @@ -179,7 +179,11 @@ style:justify-content="center">
- No matching repositories. + {#if repos.length > 0} + No matching repositories. + {:else} + No repositories. + {/if}