|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
async mounted() {
|
|
|
const { homeworkId, courseId } = this.$route.params;
|
|
|
const groupId = await getStudentGroup(courseId);
|
|
|
- const statistics = await getCodeWorkStatistics(homeworkId, groupId);
|
|
|
+ const statistics = await getCodeWorkStatistics(homeworkId, groupId.data.id);
|
|
|
console.log(statistics);
|
|
|
this.statistics = statistics.data;
|
|
|
this.buildChartDOM = document.getElementById("build-chart");
|