Skip to content

Commit

Permalink
fix(webui): clear searchbox results on blur
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jul 5, 2021
1 parent 3db3181 commit e1a2cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion komga-webui/src/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -191,7 +192,6 @@ export default Vue.extend({
}, 500),
clear() {
this.search = null
// this.selectedItem = null
this.showResults = false
this.series = []
this.books = []
Expand Down

0 comments on commit e1a2cec

Please sign in to comment.