search page only appears on enter
This commit is contained in:
parent
ce598e8b2c
commit
350521ddaf
4 changed files with 9 additions and 6 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue