Clear search bar on reopen #192
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ const SearchBar = {
|
|||
this.$emit('toggled', this.hidden)
|
||||
this.$nextTick(() => {
|
||||
if (!this.hidden) {
|
||||
this.searchTerm = undefined
|
||||
this.$refs.searchInput.focus()
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue