Skip to content

Commit 9911eb7

Browse files
authored
Javascript error on filtering by type (#534)
Fixes #532
1 parent b356b09 commit 9911eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/items.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ async function fillItems (highlightedId) {
154154
}
155155
domCache.itemsTableBody.innerHTML = row
156156

157-
if (highlightedId) {
157+
if (highlightedId && typeof highlightedId === 'string') {
158158
itemHighlight(highlightedId)
159159
}
160160
} else {

0 commit comments

Comments
 (0)