say if there are no search results

This commit is contained in:
Nikita Galaiko 2023-03-17 08:36:40 +01:00
parent df01a49f02
commit cad1ff6e8d
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -44,6 +44,10 @@
<p class="mb-2 text-xl text-[#D4D4D8]">Results for "{$searchTerm}"</p> <p class="mb-2 text-xl text-[#D4D4D8]">Results for "{$searchTerm}"</p>
<p class="text-lg text-[#717179]">{processedResults.length} change instances</p> <p class="text-lg text-[#717179]">{processedResults.length} change instances</p>
</div> </div>
{:else}
<div class="mb-10 mt-14">
<p class="mb-2 text-xl text-[#D4D4D8]">No results for "{$searchTerm}"</p>
</div>
{/if} {/if}
<ul class="flex flex-col gap-4"> <ul class="flex flex-col gap-4">