mirror of
https://github.com/elk-zone/elk.git
synced 2025-05-09 00:32:30 +03:00
fix: trim spaces for search keyword
This commit is contained in:
parent
509eec5f87
commit
c28d1e1537
3 changed files with 20 additions and 16 deletions
components/command
|
@ -221,7 +221,7 @@ const onKeyDown = (e: KeyboardEvent) => {
|
|||
</template>
|
||||
<div v-else p5 text-center text-secondary italic>
|
||||
{{
|
||||
input.length
|
||||
input.trim().length
|
||||
? $t('common.not_found')
|
||||
: $t('search.search_desc')
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue