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,
"telephone": data.phonenumber,
"email": data.email,
"address": null
"address": this.parent.address
}
} else {
type = this.$refs.castNew.radioType;

View File

@ -27,10 +27,10 @@
v-bind:item="item">
</suggestion-user>
<suggestion-household
v-if="item.result.type === 'household'"
v-bind:item="item">
</suggestion-household>
<suggestion-household
v-if="item.result.type === 'household'"
v-bind:item="item">
</suggestion-household>
</label>
</div>

View File

@ -248,22 +248,14 @@ export default {
submitAddress(payload) {
console.log('submitAddress', payload);
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.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);
}
},
addQuery(query) {
this.thirdparty.text = query;
>>>>>>> issue422_and_others_on_AddPersons
}
},
mounted() {