บรรจุ แต่งตั้ง เลื่อนย้าย > เมนูขอโอน ปรับ card profile

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-20 10:11:43 +07:00
parent b7a6c919ec
commit 9bae48eb68
2 changed files with 10 additions and 3 deletions

View file

@ -40,7 +40,9 @@ function fetchDataProfile(data: DataProfile) {
fetchProfile(data.profileId);
}
profile.id = data.profileId;
profile.fullName = `${data.prefix}${data.firstName} ${data.lastName}`;
profile.fullName = `${data.prefix ?? ""}${data.firstName ?? ""} ${
data.lastName ?? ""
} `;
profile.position =
data.position == "" || data.position === null ? "-" : data.position;
if (data.posTypeName && data.posLevelName) {