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