Fix showing onboarding instructions when there's at least one repo in total

This commit is contained in:
Sebastian Martinez
2025-04-16 15:48:33 +02:00
committed by Rūdolfs Ošiņš
parent ea2982faa2
commit d97c12c692
+6 -2
View File
@@ -151,7 +151,7 @@
</div>
{/if}
</div>
{#if repos.length > 0}
{#if repoCount.total > 0}
{#if searchResults.length > 0}
<div class="repo-grid">
{#each searchResults as result}
@@ -179,7 +179,11 @@
style:justify-content="center">
<div class="txt-missing txt-small global-flex" style:gap="0.25rem">
<Icon name="none" />
No matching repositories.
{#if repos.length > 0}
No matching repositories.
{:else}
No repositories.
{/if}
</div>
</div>
</Border>