Skip to content

Commit

Permalink
Fix: Don't check type when comparing item ID's in similar submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
plibither8 committed Jun 1, 2019
1 parent 632466b commit e5026e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/show-similar-submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getSimilarSubmissions(storyLink, metadata) {
}

for (const result of rawResults) {
if (result.objectID === metadata.item.id) {
if (result.objectID == metadata.item.id) {
continue;
}

Expand Down

0 comments on commit e5026e6

Please sign in to comment.