search page only appears on enter

This commit is contained in:
Core 2022-09-11 03:13:54 +01:00
parent ce598e8b2c
commit 350521ddaf
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
4 changed files with 9 additions and 6 deletions

View file

@ -25,6 +25,7 @@ const app = new Vue({
cursor: -1,
hints: [],
showHints: false,
showSearchView: false,
results: {},
resultsSocial: {},
resultsLibrary: {},
@ -1904,6 +1905,8 @@ const app = new Vue({
async getSearchHints() {
if (this.search.term == "") {
this.search.hints = [];
this.search.showHints = true
this.search.showSearchView = false
return;
}
let hints = await (