Переглянути джерело

bugfix cartouchlayout props

bach 1 рік тому
батько
коміт
c94679017e

+ 2 - 2
src/components/contents/Doleancer.vue

@@ -12,7 +12,7 @@ import vSelect from 'vue-select';
 import 'vue-select/dist/vue-select.css';
 
 export default {
-  props: ['id'],
+  props: ['cid'],
   data(){
     return {
       doleance: null,
@@ -88,7 +88,7 @@ export default {
 </script>
 
 <template>
-  <CartoucheLayout>
+  <CartoucheLayout :cid="cid">
     <template v-slot:header>
       <div class="pre-header">
       </div>

+ 2 - 2
src/components/contents/PuissanceAgir.vue

@@ -17,7 +17,7 @@ import { mdiRhombusOutline } from '@mdi/js';
 
 
 export default {
-  props: ['id'],
+  props: ['cid'],
   data(){
     return {
       opened_besoin_id: null,
@@ -72,7 +72,7 @@ export default {
 </script>
 
 <template>
-  <CartoucheLayout>
+  <CartoucheLayout :cid="cid">
     <!-- <template v-slot:header>
     </template> -->
 

+ 2 - 2
src/views/Concernement.vue

@@ -171,8 +171,8 @@ export default {
 <template>
   <section v-if="opened_concernement" class="concernement">
     <TerrainDeVie v-if="map_mode === 'terraindevie' || map_mode === 'action'|| map_mode === 'superposition'" :cid="main_cid_eid.cid" :eid="main_cid_eid.eid"/>
-    <PuissanceAgir v-if="map_mode === 'puissancedagir'" :id="cid"/>
-    <Doleancer v-if="map_mode === 'doleancer'" :id="cid"/>
+    <PuissanceAgir v-if="map_mode === 'puissancedagir'" :cid="cid"/>
+    <Doleancer v-if="map_mode === 'doleancer'" :cid="cid"/>
   </section>
   <section v-if="map_mode === 'superposition' && superposition && superposed_cid_eid" class="concernement clone">
     <TerrainDeVie :cid="superposed_cid_eid.cid" :eid="superposed_cid_eid.eid" />