Clear search bar on reopen #192

Merged
floatingghost merged 1 commit from :clear-searchbar into develop 2022-11-06 20:57:50 +00:00
Showing only changes of commit cd9dc9d2b2 - Show all commits

View file

@ -32,6 +32,7 @@ const SearchBar = {
this.$emit('toggled', this.hidden) this.$emit('toggled', this.hidden)
this.$nextTick(() => { this.$nextTick(() => {
if (!this.hidden) { if (!this.hidden) {
this.searchTerm = undefined
this.$refs.searchInput.focus() this.$refs.searchInput.focus()
} }
}) })