fix bux to quickly add names that exist of multiple parts to the namefield of a person or thirdparty

This commit is contained in:
2022-06-09 18:31:38 +02:00
parent d9dfe75378
commit 9a29532362
2 changed files with 3 additions and 3 deletions

View File

@@ -333,10 +333,10 @@ export default {
addQueryItem(field, queryItem) {
switch (field) {
case 'lastName':
this.person.lastName = queryItem;
this.person.lastName ? this.person.lastName += ` ${queryItem}` : this.person.lastName = queryItem;
break;
case 'firstName':
this.person.firstName = queryItem;
this.person.firstName ? this.person.firstName += ` ${queryItem}` : this.person.firstName = queryItem;
break;
}
},