added loader #2235

This commit is contained in:
2024-01-15 15:51:07 +01:00
parent cc49b939d0
commit 26338792b5
4 changed files with 40 additions and 3 deletions

View File

@@ -127,8 +127,8 @@ export default {
<div id="main-content">
<MapConcernements>
<!-- <div class="loading" v-if="mapitems.length === 0">Chargement ...</div> -->
<!-- <template v-else> -->
<div class="loading" v-if="mapitems.length === 0">Chargement</div>
<template v-else>
<template v-for="(mapitem,index) in mapitems">
<ConcernementMapItem
v-if="mapitem.concernement.visible && ((map_mode === 'superposition' && mapitem.clone) || !mapitem.clone)"
@@ -136,7 +136,7 @@ export default {
:mapitem="mapitem"
/>
</template>
<!-- </template> -->
</template>
</MapConcernements>
<div id="content" :class="{'recit-opened':opened_recit}">
<RouterView />