Skip to content

Commit

Permalink
Merge pull request #1442 from mikkelhegn/fix-spin-up-hub-filter
Browse files Browse the repository at this point in the history
Fix Spin Up Hub language filter
  • Loading branch information
mikkelhegn authored Dec 12, 2024
2 parents ee63a89 + 94c389d commit c4b25b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spin-up-hub/src/components/ContentListing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default {
if (contentFilterLength === 0) {
return data.filter(k => { return this.filteredLanguages.includes(k.language) })
}
if (langaugeFilterLength === 0) {
if (languageFilterLength === 0) {
return data.filter(k => { return this.filteredContentTypes.includes(k.category) })
} else {
data = data.filter(k =>
Expand Down Expand Up @@ -139,4 +139,4 @@ export default {
color: #e7d3f2;
}
}
</style>
</style>

0 comments on commit c4b25b4

Please sign in to comment.