fix history range
This commit is contained in:
parent
bf8470e131
commit
43cf68b65b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const reduceByOrigin = (items, min) => {
|
||||||
const getCompletions = (keyword) => {
|
const getCompletions = (keyword) => {
|
||||||
return browser.history.search({
|
return browser.history.search({
|
||||||
text: keyword,
|
text: keyword,
|
||||||
startTime: '1970-01-01'
|
startTime: 0,
|
||||||
}).then((historyItems) => {
|
}).then((historyItems) => {
|
||||||
return [historyItems.map(item => [item, new URL(item.url)])]
|
return [historyItems.map(item => [item, new URL(item.url)])]
|
||||||
.map(filterEmptyTitle)
|
.map(filterEmptyTitle)
|
||||||
|
|
Reference in a new issue