feat: tips for empty search result (#900)
This commit is contained in:
parent
7c83bd05a5
commit
509eec5f87
10 changed files with 21 additions and 9 deletions
|
@ -87,6 +87,9 @@ const activate = () => {
|
|||
:result="result"
|
||||
:tabindex="focused ? 0 : -1"
|
||||
/>
|
||||
<span v-if="query.length !== 0 && results.length === 0" block text-center text-sm text-secondary>
|
||||
{{ t('search.search_empty') }}
|
||||
</span>
|
||||
</template>
|
||||
<div v-else>
|
||||
<SearchResultSkeleton />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue