Browse Source

Pass project id to get statistics method

pull/341/head
Hironsan 5 years ago
parent
commit
e586924db1
1 changed files with 1 additions and 1 deletions
  1. 2
      frontend/pages/projects/_id/statistics/index.vue

2
frontend/pages/projects/_id/statistics/index.vue

@ -59,7 +59,7 @@ export default {
},
created() {
StatisticsService.getStatistics().then((response) => {
StatisticsService.getStatistics(this.$route.params.id).then((response) => {
this.labelStat = this.makeData(response.label, 'Label stats')
this.userStat = this.makeData(response.user, 'User stats')
const complete = response.total - response.remaining

Loading…
Cancel
Save