client: reorganize filters and add tests

This commit is contained in:
Matteo Pagliazzi
2016-12-06 18:27:49 -08:00
parent 0b0466b960
commit 046761b9aa
8 changed files with 30 additions and 7 deletions

View File

@@ -100,12 +100,6 @@ export default {
components: {
Avatar,
},
filters: {
percent,
round (val) {
return Math.round(val * 100) / 100;
},
},
methods: {
percent,
},