superposition: mapitem openeing and entite clickable

This commit is contained in:
2023-09-14 10:42:31 +02:00
parent 43290d3c5d
commit 36b76a9ba6
4 changed files with 50 additions and 23 deletions

View File

@@ -56,6 +56,7 @@ export default {
this.concernement = this.concernementsByID[this.infos.cid];
break;
case 'entite':
case 'entite_superpose':
case 'entite_action':
this.entites = [this.allEntitesById[this.infos.id]];
break;
@@ -148,7 +149,7 @@ export default {
</div>
</section>
<section v-if="infos.type === 'entite' || infos.type === 'entite_action' || infos.type === 'superposition'" class="entite-map-popup">
<section v-if="infos.type === 'entite' || infos.type === 'entite_action' || infos.type === 'superposition' || infos.type === 'entite_superpose'" class="entite-map-popup">
<template
v-for="(entite, index) of entites"
:key="index"