bugfix of double civility abbreviation after edit

This commit is contained in:
2022-01-24 14:44:53 +01:00
parent 0f2cbbe553
commit b87f14255d
4 changed files with 5 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ export default {
data = {
"type": "thirdparty",
"kind": "child",
"name": data.text,
"name": data.name,
"isChild": true,
"parent": {"type": "thirdparty", "id": this.parent.id},
"civility": {"id": data.civility},
@@ -234,7 +234,7 @@ export default {
throw 'error with object type';
}
}
// console.log('type', type, 'data', data)
console.log('type', type, 'data', data)
// pass datas to parent
this.$emit('saveFormOnTheFly', { type: type, data: data });