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 6 additions and 3 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
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long