minor fixes

This commit is contained in:
Julie Lenaerts 2022-02-16 13:52:20 +01:00
parent 8347ddd5be
commit e4793e1a77
3 changed files with 5 additions and 13 deletions

View File

@ -237,7 +237,7 @@ export default {
"comment": data.comment, "comment": data.comment,
"telephone": data.phonenumber, "telephone": data.phonenumber,
"email": data.email, "email": data.email,
"address": null "address": this.parent.address
} }
} else { } else {
type = this.$refs.castNew.radioType; type = this.$refs.castNew.radioType;

View File

@ -248,13 +248,6 @@ export default {
submitAddress(payload) { submitAddress(payload) {
console.log('submitAddress', payload); console.log('submitAddress', payload);
if (typeof payload.addressId !== 'undefined') { // <-- if (typeof payload.addressId !== 'undefined') { // <--
<<<<<<< HEAD
this.context.edit = true;
this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload
this.thirdparty.address = payload.address; // <--
console.log('switch address to edit mode', this.context);
}
=======
this.context.edit = true; this.context.edit = true;
this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload this.context.addressId = payload.addressId; // bof! use legacy and not legacy in payload
this.thirdparty.address = payload.address; // <-- this.thirdparty.address = payload.address; // <--
@ -263,7 +256,6 @@ export default {
}, },
addQuery(query) { addQuery(query) {
this.thirdparty.text = query; this.thirdparty.text = query;
>>>>>>> issue422_and_others_on_AddPersons
} }
}, },
mounted() { mounted() {