mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
feat: settings search - no results found
This commit is contained in:
parent
2f921859ee
commit
9e6595705e
1 changed files with 193 additions and 185 deletions
|
|
@ -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'}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue