diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonPage.vue b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonPage.vue index 13da4c748f3b938adada50537a57e5e6ecdabbb4..2118d3c25d400f7268c27ab3041edce76bfb6202 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonPage.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsForPersonPage.vue @@ -86,7 +86,7 @@ <v-row class="mr-2"> <v-col cols="12" md="6" class="pa-0 d-flex"> <v-list-item-avatar - v-if="mode === MODE.PARTICIPATIONS" + v-if="mode === MODE.PARTICIPATIONS && showCheckbox(item)" > <v-item v-slot="{ active, toggle }" :value="item.id"> <v-simple-checkbox @@ -376,6 +376,9 @@ export default { // Only ExtraMarks can be deleted return item.canDelete && item.extraMark; }, + showCheckbox(item) { + return this.showEdit(item); + }, }, }; </script>