mapmode action done
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user