#16 pass default variables to add-address component when it is called from another vue component

This commit is contained in:
2022-11-17 16:12:30 +01:00
parent e90782500b
commit 3ca46efd2c
12 changed files with 18 additions and 4 deletions

View File

@@ -232,7 +232,8 @@ export default {
id: this.id
},
edit: false,
addressId: null
addressId: null,
defaults: window.addaddress
};
if ( !(this.thirdparty.address === undefined || this.thirdparty.address === null)
&& this.thirdparty.address.address_id !== null