#306 - Reworked search field auto-fill

This commit is contained in:
Simon Cambier
2023-11-01 10:29:41 +01:00
parent 4a4d322f33
commit beb4f191dc
3 changed files with 30 additions and 17 deletions

View File

@@ -102,9 +102,6 @@
eventBus.on('vault', Action.PrevSearchHistory, prevSearchHistory)
eventBus.on('vault', Action.NextSearchHistory, nextSearchHistory)
await NotesIndex.refreshIndex()
if (settings.showPreviousQueryResults) {
previousQuery = (await cacheManager.getSearchHistory())[0]
}
})
onDestroy(() => {