mapmode action done

This commit is contained in:
2023-07-07 10:51:25 +02:00
parent 213f151557
commit 901c66fe9a
5 changed files with 53 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ export default {
// console.log(`popup created type: ${this.infos.type}`, this.infos);
if (this.infos.type === 'concernement') {
this.concernement = this.concernementsByID[this.infos.id];
} else if(this.infos.type === 'entite') {
} else if(this.infos.type === 'entite' || this.infos.type === 'entite_action') {
this.entite = this.allEntitesById[this.infos.id];
} else if (this.infos.type === 'besoin') {
this.besoin = this.allBesoinsById[this.infos.id];
@@ -55,7 +55,7 @@ export default {
handler (n, o){
if (n.type === 'concernement') {
this.concernement = this.concernementsByID[n.id];
} else if(n.type === 'entite') {
} else if(n.type === 'entite' || n.type === 'entite_action') {
this.entite = this.allEntitesById[this.infos.id];
} else if (n.type === 'besoin') {
this.besoin = this.allBesoinsById[this.infos.id];
@@ -132,7 +132,7 @@ export default {
<svg-icon type="mdi" :path="headphones_path"></svg-icon>
</section>
<section v-if="infos.type === 'entite'" class="entite-map-popup">
<section v-if="infos.type === 'entite' || infos.type === 'entite_action'" class="entite-map-popup">
<h1>{{ entite.entite.title }}</h1>
</section>
<section v-if="infos.type === 'besoin'" class="besoin-map-popup">