diff --git a/src/views/project/Project_detail.vue b/src/views/project/Project_detail.vue index ad24ad07663e5f0b2635d1e019ddabf63c7c8236..20827f98e1848690a3878f2271eaf3d742557c6e 100644 --- a/src/views/project/Project_detail.vue +++ b/src/views/project/Project_detail.vue @@ -108,7 +108,7 @@ <h3 class="ui header">Types de signalements</h3> <div class="ui middle aligned divided list"> <div - :class="{ active: featureTypeLoading }" + :class="{ active : projectInfoLoading }" class="ui inverted dimmer" > <div class="ui text loader"> @@ -407,6 +407,14 @@ <div class="content"> <div class="center aligned header">Derniers commentaires</div> <div class="center aligned description"> + <div + :class="{ active: projectInfoLoading }" + class="ui inverted dimmer" + > + <div class="ui text loader"> + Récupération des signalements en cours... + </div> + </div> <div class="ui relaxed list"> <div v-for="(item, index) in last_comments" @@ -627,7 +635,7 @@ export default { isModalOpen: false, is_suscriber: false, tempMessage: null, - featureTypeLoading: true, + projectInfoLoading: true, featureTypeImporting: false, featuresLoading: true, isFileSizeModalOpen: false @@ -912,11 +920,11 @@ export default { mounted() { this.GET_PROJECT_INFO(this.slug) .then(() => { - this.featureTypeLoading = false; + this.projectInfoLoading = false; setTimeout(this.initMap, 1000); }) .catch(() => { - this.featureTypeLoading = false; + this.projectInfoLoading = false; }); this.GET_PROJECT_FEATURES({ project_slug: this.slug,