mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 15:34:17 +01:00
fix(webui): clear searchbox results on blur
This commit is contained in:
parent
3db3181313
commit
e1a2cecce4
1 changed files with 1 additions and 1 deletions
|
|
@ -19,6 +19,7 @@
|
|||
:search-input.sync="search"
|
||||
:menu-props="{maxHeight: $vuetify.breakpoint.height * .9, minWidth: $vuetify.breakpoint.mdAndUp ? $vuetify.breakpoint.width * .4 : $vuetify.breakpoint.width * .8}"
|
||||
@keydown.esc="clear"
|
||||
@blur="clear"
|
||||
ref="searchbox"
|
||||
>
|
||||
<template v-slot:selection>
|
||||
|
|
@ -191,7 +192,6 @@ export default Vue.extend({
|
|||
}, 500),
|
||||
clear() {
|
||||
this.search = null
|
||||
// this.selectedItem = null
|
||||
this.showResults = false
|
||||
this.series = []
|
||||
this.books = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue