Remove unused line

This commit is contained in:
Kevin
2019-09-05 21:17:56 +02:00
parent e3a786bc16
commit 2a18f112e7

View File

@@ -29,9 +29,8 @@ export default {
},
category() {
const category = this.$store.getters['data/sortByTitle'](this.categoryRouteTitle)
const pagePath = this.$router.history.current.path
const query = this.$route.query.card
const clone = JSON.parse(JSON.stringify(category))
const query = this.$route.query.card
for (const resource of clone.resources) {
resource.active = resource.cleanTitle === query ? 'card--active' : ''
}