better sailent point definition

This commit is contained in:
2023-05-26 00:10:44 +02:00
parent d9690ee4c1
commit 4ee8b51fa2
3 changed files with 78 additions and 77 deletions

View File

@@ -143,6 +143,7 @@ export default {
if (query && query.length) {
// if we have a results
for (let body of query) {
console.log('mouse hover body.item_type', body.item_type);
if (!this.opened // if no concernement is opened
&& body.item_type === "concernement" // if it is a concernement
&& typeof this.concernementsByID[body.id] !== "undefined" // if the id exists