mouse over mapPopUp on besoin & reponse
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user