Display last query after a restart

This commit is contained in:
Simon Cambier
2022-10-24 12:49:10 +02:00
parent 6d73d8fa7c
commit 1f18594352

View File

@@ -7,7 +7,7 @@ class CacheManager {
/** /**
* Show an empty input field next time the user opens Omnisearch modal * Show an empty input field next time the user opens Omnisearch modal
*/ */
private nextQueryIsEmpty = true private nextQueryIsEmpty = false
public async addToSearchHistory(query: string): Promise<void> { public async addToSearchHistory(query: string): Promise<void> {
if (!query) { if (!query) {