Clear search bar on reopen

This commit is contained in:
Sol Fisher Romanoff 2022-11-06 15:46:35 +02:00
parent 251e440dad
commit cd9dc9d2b2
Signed by untrusted user who does not match committer: nbsp
GPG key ID: 9D3F2B64F2341B62

View file

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