mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix bux to quickly add names that exist of multiple parts to the namefield of a person or thirdparty
This commit is contained in:
parent
d9dfe75378
commit
9a29532362
@ -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;
|
||||
}
|
||||
},
|
||||
|
@ -297,7 +297,7 @@ export default {
|
||||
addQueryItem(field, queryItem) {
|
||||
switch (field) {
|
||||
case 'name':
|
||||
this.thirdparty.name = queryItem;
|
||||
this.thirdparty.name ? this.thirdparty.name += ` ${queryItem}` : this.thirdparty.name = queryItem;
|
||||
break;
|
||||
case 'firstName':
|
||||
this.thirdparty.firstname = queryItem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user