Clear search results when remove search query

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2022-09-19 16:45:30 +02:00
parent ea08fabca3
commit f0cd60b21b
3 changed files with 3 additions and 0 deletions

View File

@ -444,6 +444,9 @@ export default {
// Do not search if not long enough
if (this.query.trim() === '' || this.isShortQuery) {
for (const type of this.typesIDs) {
this.$delete(this.results, type)
}
return
}

Binary file not shown.

Binary file not shown.