integrated puissance d'agir on the map level 0

This commit is contained in:
2023-05-16 16:55:28 +02:00
parent dafa36f29c
commit fa9bc54d2a
4 changed files with 142 additions and 29 deletions

View File

@@ -69,6 +69,10 @@ export const ConcernementsStore = defineStore({
concernement.entites.push(entite); // fill the entites array with visible entite only
}
});
// puissance d'agir
concernement.has_puissancedagir = concernement.besoins.length ? true : false;
// common
this.concernements.push(concernement);
this.concernementsByID[concernement.id] = concernement;
});