From e586924db10b9ccd51f9afa9e6b6988a86e3c00c Mon Sep 17 00:00:00 2001 From: Hironsan Date: Sun, 27 Oct 2019 22:14:56 +0900 Subject: [PATCH] Pass project id to get statistics method --- frontend/pages/projects/_id/statistics/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/pages/projects/_id/statistics/index.vue b/frontend/pages/projects/_id/statistics/index.vue index 51ba8d77..9f011ff7 100644 --- a/frontend/pages/projects/_id/statistics/index.vue +++ b/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