Skip to content
Snippets Groups Projects
Commit f1aab9f2 authored by Julian's avatar Julian
Browse files

Use person chip for person column

parent 765fc1bc
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
Pipeline #193006 failed
......@@ -46,10 +46,7 @@
</template>
<template #person="{ item }">
<v-avatar class="my-1 me-2">
<avatar-content :id="item.person.id" />
</v-avatar>
{{ item.person.fullName }}
<person-chip :person="item.person" />
</template>
<template #tardinessCount="{ item }">
......@@ -75,7 +72,7 @@
<script>
import groupOverviewTabMixin from "aleksis.core/mixins/groupOverviewTabMixin.js";
import CRUDList from "aleksis.core/components/generic/CRUDList.vue";
import AvatarContent from "aleksis.core/components/person/AvatarContent.vue";
import PersonChip from "aleksis.core/components/person/PersonChip.vue";
import SecondaryActionButton from "aleksis.core/components/generic/buttons/SecondaryActionButton.vue";
import AbsenceReasonChip from "aleksis.apps.kolego/components/AbsenceReasonChip.vue";
......@@ -90,9 +87,9 @@ export default {
mixins: [groupOverviewTabMixin],
components: {
AbsenceReasonChip,
AvatarContent,
CRUDList,
ExtraMarkChip,
PersonChip,
SecondaryActionButton,
},
data() {
......
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