mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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,
|
||||
"telephone": data.phonenumber,
|
||||
"email": data.email,
|
||||
"address": data.address
|
||||
"address": null
|
||||
}
|
||||
// console.log('body', body)
|
||||
postThirdparty(body)
|
||||
.then(thirdparty => new Promise((resolve, reject) => {
|
||||
// this.$parent.newPriorSuggestion(thirdparty);
|
||||
// console.log('thirdparty created', thirdparty)
|
||||
console.log('thirdparty created', thirdparty)
|
||||
resolve();
|
||||
}));
|
||||
} else {
|
||||
@ -243,9 +242,7 @@ export default {
|
||||
}
|
||||
// console.log('type', type, 'data', data)
|
||||
// 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;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user