mouse over mapPopUp on besoin & reponse

This commit is contained in:
2023-05-22 18:15:04 +02:00
parent 8806507ecb
commit 302252a1c1
3 changed files with 79 additions and 50 deletions

View File

@@ -153,6 +153,21 @@ export default {
id: body.id
};
}
if (body.item_type === "besoin" // if it is a besoin
&& this.opened) { // if a concernement is opened
this.mapPopupData = {
type: 'besoin',
id: body.id
};
}
if (body.item_type === "reponse" // if it is a besoin
&& this.opened) { // if a concernement is opened
this.mapPopupData = {
type: 'reponse',
id: body.id
};
}
}
// console.log(`this.mapPopupData type: ${this.mapPopupData.type}, id: ${this.mapPopupData.id}`);
}