refactor: handle show name en
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
bd38c008a6
commit
79abde8629
1 changed files with 3 additions and 1 deletions
|
|
@ -164,7 +164,9 @@ const selectedWorkerItem = computed(() => {
|
|||
employeeName:
|
||||
locale.value === Lang.English
|
||||
? `${e.firstNameEN} ${e.lastNameEN}`
|
||||
: `${e.firstName} ${e.lastName}`,
|
||||
: e.firstName
|
||||
? `${e.firstName} ${e.lastName}`
|
||||
: `${e.firstNameEN} ${e.lastNameEN}`,
|
||||
birthDate: dateFormatJS({ date: e.dateOfBirth }),
|
||||
gender: e.gender,
|
||||
age: calculateAge(e.dateOfBirth),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue