Skip to content
Snippets Groups Projects
Commit 79be14ea authored by permcu's avatar permcu
Browse files

Use statisticsByPerson query in StatisticsForPersonCard

parent b913a461
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment