Skip to content

Commit

Permalink
🚨 Fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sebj54 committed Oct 3, 2020
1 parent e3216cf commit da87fbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/CreationsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,23 @@ export default {
}
} else if (this.selectedTechnologies) {
query = {
technologies: this.selectedTechnologies.map(this.itemToSlug).join(',')
technologies: this.selectedTechnologies.map(this.itemToSlug).join(','),
}
} else if (this.selectedCategories) {
query = {
categories: this.selectedCategories.map(this.itemToSlug).join(',')
categories: this.selectedCategories.map(this.itemToSlug).join(','),
}
}
this.$router.replace({ query })
// Make "NavigationDuplicated: Avoided redundant navigation to current location" errors silent
.catch(() => {})
},
setSelectedTechnologies(technologies) {
setSelectedTechnologies(technologies) {
this.selectedTechnologies = technologies
this.addFilters()
},
setSelectedCategories(categories) {
setSelectedCategories(categories) {
this.selectedCategories = categories
this.addFilters()
},
Expand Down

0 comments on commit da87fbb

Please sign in to comment.