diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonCard.vue b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonCard.vue index a444b6464232e392721b78ae04cb088e755b59fa..e44e2606176cf12ec25e2a0989e855b7aec6b1ed 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonCard.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonCard.vue @@ -24,6 +24,8 @@ import StatisticsTardinessCard from "./StatisticsTardinessCard.vue"; import StatisticsExtraMarksCard from "./StatisticsExtraMarksCard.vue"; import StatisticsPersonalNotesList from "./StatisticsPersonalNotesList.vue"; +import statisticsByPerson from "./statistics.graphql"; + export default { name: "StatisticsForPersonCard", mixins: [personOverviewCardMixin], @@ -40,5 +42,10 @@ export default { default: true, }, }, + apollo: { + statistics: { + query: statisticsByPerson, + }, + }, }; </script>