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