Skip to content

Commit

Permalink
Filter pokemon items from search (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
CypherX authored Aug 15, 2023
1 parent d4a68fd commit 139c6d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14341,7 +14341,7 @@ const searchOptions = [
type: 'Items',
page: '',
},
...Object.values(ItemList).map(i => ({
...Object.values(ItemList).filter(i => !(i instanceof PokemonItem)).map(i => ({
display: i.displayName,
type: 'Items',
page: i.displayName,
Expand Down
2 changes: 1 addition & 1 deletion scripts/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const searchOptions = [
type: 'Items',
page: '',
},
...Object.values(ItemList).map(i => ({
...Object.values(ItemList).filter(i => !(i instanceof PokemonItem)).map(i => ({
display: i.displayName,
type: 'Items',
page: i.displayName,
Expand Down

0 comments on commit 139c6d1

Please sign in to comment.