mirror of https://github.com/nextcloud/server
Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
ea08fabca3
commit
f0cd60b21b
|
@ -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.
Loading…
Reference in New Issue