Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from ThermScissorpunch/patch-2
Browse files Browse the repository at this point in the history
Fix typo in variable name
  • Loading branch information
Tomasz Kostuch authored Jun 16, 2020
2 parents 63db93c + 35b2b7a commit b9b9bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/core/blocks/SearchPanel/SearchPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ export default {
.map(p => p.category)
.flat()
const discinctCategories = Array.from(
const distinctCategories = Array.from(
new Set(categories.map(c => c.category_id))
).map(catId => categories.find(c => c.category_id === catId))
return discinctCategories
return distinctCategories
},
getNoResultsMessage () {
let msg = ''
Expand Down

0 comments on commit b9b9bc7

Please sign in to comment.