mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
attempt to not include parent address
This commit is contained in:
parent
6460007aa1
commit
256c5688a0
@ -223,13 +223,12 @@ export default {
|
|||||||
"comment": data.comment,
|
"comment": data.comment,
|
||||||
"telephone": data.phonenumber,
|
"telephone": data.phonenumber,
|
||||||
"email": data.email,
|
"email": data.email,
|
||||||
"address": data.address
|
"address": null
|
||||||
}
|
}
|
||||||
// console.log('body', body)
|
|
||||||
postThirdparty(body)
|
postThirdparty(body)
|
||||||
.then(thirdparty => new Promise((resolve, reject) => {
|
.then(thirdparty => new Promise((resolve, reject) => {
|
||||||
// this.$parent.newPriorSuggestion(thirdparty);
|
// this.$parent.newPriorSuggestion(thirdparty);
|
||||||
// console.log('thirdparty created', thirdparty)
|
console.log('thirdparty created', thirdparty)
|
||||||
resolve();
|
resolve();
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
@ -243,9 +242,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// console.log('type', type, 'data', data)
|
// console.log('type', type, 'data', data)
|
||||||
// pass datas to parent
|
// pass datas to parent
|
||||||
if (this.action != 'addContact') {
|
this.$emit('saveFormOnTheFly', { type: type, data: data });
|
||||||
this.$emit('saveFormOnTheFly', { type: type, data: data });
|
|
||||||
}
|
|
||||||
|
|
||||||
this.modal.showModal = false;
|
this.modal.showModal = false;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user