We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88cb890 commit cc42ffcCopy full SHA for cc42ffc
CHANGELOG.md
@@ -2,6 +2,8 @@
2
3
## [unreleased]
4
5
+- **FIXED**: Fixed potential crash when browser returns empty history entries (which it shouldn't do).
6
+
7
## [v1.10.2]
8
9
- **FIXED**: Bookmark tagging autocomplete was partly broken. Fixed update of dependency.
popup/js/model/searchData.js
@@ -83,9 +83,9 @@ export async function getSearchData() {
83
const browserHistory = []
84
const idMap = {}
85
for (const item of historyFromApi.concat(historyC)) {
86
- if (!idMap[item.id || item.url]) {
+ if (item && item.id & !idMap[item.id]) {
87
browserHistory.push(item)
88
- idMap[item.id || item.url] = true
+ idMap[item.id] = true
89
}
90
91
0 commit comments