mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
fix handling of address
This commit is contained in:
parent
57a88845dc
commit
bb93cb23a7
@ -74,11 +74,13 @@ export default {
|
|||||||
case 'thirdparty':
|
case 'thirdparty':
|
||||||
let data = this.$refs.castThirdparty.$data.thirdparty;
|
let data = this.$refs.castThirdparty.$data.thirdparty;
|
||||||
data.name = data.text;
|
data.name = data.text;
|
||||||
if (data.address !== undefined) {
|
/*
|
||||||
|
if (data.address !== undefined && data.address !== null) {
|
||||||
data.address = { id: data.address.address_id }
|
data.address = { id: data.address.address_id }
|
||||||
} else {
|
} else {
|
||||||
data.address = null;
|
data.address = null;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user