1
0
Fork 0
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:
三咲智子 2023-01-09 16:36:24 +08:00
parent 509eec5f87
commit c28d1e1537
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
3 changed files with 20 additions and 16 deletions
components/command

View file

@ -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')
}}