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

Add loading state to participation list

parent 55a6d158
No related branches found
No related tags found
1 merge request!360Resolve "Add absence management to course book student dialog"
......@@ -29,6 +29,13 @@ export default {
isExpanded: false,
};
},
props: {
loadingIndicator: {
type: Boolean,
default: false,
required: false,
},
},
computed: {
items() {
return this.documentation.participations;
......@@ -131,6 +138,7 @@ export default {
(item) => 'documentation-' + documentation.id + '-student-' + item.id
"
:is-expanded.sync="isExpanded"
:loading="loadingIndicator"
>
<template #listItemContent="{ item }">
<v-list-item-title>
......
......@@ -56,7 +56,11 @@ export default {
</script>
<template>
<manage-students-dialog v-bind="documentationPartProps" @update="() => null">
<manage-students-dialog
v-bind="documentationPartProps"
@update="() => null"
:loading-indicator="loading"
>
<template #activator="{ attrs, on }">
<v-chip
dense
......
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