Woops.
This commit is contained in:
@@ -27,11 +27,9 @@ class CacheManager {
|
|||||||
const data = (await database.searchHistory.toArray())
|
const data = (await database.searchHistory.toArray())
|
||||||
.reverse()
|
.reverse()
|
||||||
.map(o => o.query)
|
.map(o => o.query)
|
||||||
console.log(this.nextQueryIsEmpty)
|
|
||||||
if (this.nextQueryIsEmpty) {
|
if (this.nextQueryIsEmpty) {
|
||||||
data.unshift('')
|
data.unshift('')
|
||||||
}
|
}
|
||||||
console.log(data)
|
|
||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user