No need for computer property
This commit is contained in:
@@ -12,12 +12,7 @@ import Card from '../components/Card'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
categoryRouteTitle: this.$route.params.category,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
category() {
|
||||
return this.$store.getters['resources/findResources'](this.categoryRouteTitle)
|
||||
category: this.$store.getters['resources/findResources'](this.$route.params.category),
|
||||
}
|
||||
},
|
||||
components: { Card },
|
||||
|
||||
Reference in New Issue
Block a user