Fix(Categorie): filter table on categories

This commit is contained in:
2019-01-27 19:48:31 +01:00
parent 4d6a61fa58
commit 6f069832c0
4 changed files with 52 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ export default {
'categories'
]),
...mapGetters('datas', [
'tag_filter_rows'
'categorie_filter_rows'
]),
categorie () {
return this.categories[this.categoriename.toLowerCase()]
@@ -41,7 +41,7 @@ export default {
},
methods: {
filter_rows () {
return this.tag_filter_rows([this.categorie.name])
return this.categorie_filter_rows([this.categorie.name])
},
total () {
return total(this.filter_rows())