fix: Un problème d'import des contacts
This commit is contained in:
parent
60c6676755
commit
8abc53adbe
|
@ -41,6 +41,7 @@ const config = {
|
|||
const bureau = []
|
||||
for (const contact of association.bureau) {
|
||||
const detail = contact.Contact_id
|
||||
if (detail) {
|
||||
let c = {
|
||||
denomination: detail.denomination,
|
||||
prenom: detail.prenom,
|
||||
|
@ -53,6 +54,9 @@ const config = {
|
|||
c.telephone = detail.telephone
|
||||
}
|
||||
bureau.push(c)
|
||||
} else {
|
||||
console.log("problème sur un contact")
|
||||
}
|
||||
}
|
||||
association.bureau = bureau
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue