feat: settings search - no results found

This commit is contained in:
dannyl1u 2024-11-05 20:06:37 -08:00
parent 2f921859ee
commit 9e6595705e

View File

@ -235,6 +235,8 @@
'details',
'aboutus',
'softwareinfo',
'timothyjaeryangbaek',
'openwebui',
'release',
'updates',
'updateinfo',
@ -391,6 +393,7 @@
on:input={searchDebounceHandler}
placeholder={$i18n.t('Search')}
/>
{#if visibleTabs.length > 0}
{#each visibleTabs as tabId (tabId)}
{#if tabId === 'general'}
<button
@ -595,6 +598,11 @@
{/if}
{/if}
{/each}
{:else}
<div class="text-center text-gray-500 mt-4">
{$i18n.t('No results found')}
</div>
{/if}
</div>
<div class="flex-1 md:min-h-[28rem]">
{#if selectedTab === 'general'}