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

Add loading state to participation list

parent f2685619
No related branches found
No related tags found
1 merge request!362Resolve "Add personal note management dialog in course book"
......@@ -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