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

Implement StatisticsExtraMarksCard

parent db8127da
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
<template>
<v-card>
<counter-chip
v-for="extraMark in extraMarks"
:value="extraMark.extraMark.id"
:color="extraMark.extraMark.colourBg"
:text-color="extraMark.extraMark.colourFg"
:count="extraMark.count"
>
{{ extraMark.extraMark.name }}
</counter-chip>
</v-card>
</template>
<script>
import CounterChip from "aleksis.core/components/generic/chips/CounterChip.vue";
export default {
name: "StatisticsExtraMarksCard",
components: {
CounterChip,
},
props: {
extraMarks: {
type: Array,
required: true,
},
},
};
</script>
......@@ -15,7 +15,9 @@
:tardiness-sum="statistics.tardinessSum"
:tardiness-count="statistics.tardinessCount"
/>
<statistics-extra-marks-card />
<statistics-extra-marks-card
:extra-marks="statistics.extraMarks"
/>
<statistics-personal-notes-list
v-if="compact"
/>
......
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