Display last query after a restart
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user