bugfix of double civility abbreviation after edit

This commit is contained in:
2022-01-24 14:44:53 +01:00
parent 145c1d59e9
commit 433ccb1fc4
4 changed files with 5 additions and 4 deletions

View File

@@ -221,7 +221,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},
@@ -240,7 +240,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 });
},