mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
ea08fabca3
commit
f0cd60b21b
3 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
4
dist/core-unified-search.js
vendored
4
dist/core-unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-unified-search.js.map
vendored
2
dist/core-unified-search.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue