Merge branch 'nice' into develop

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

View file

@ -41,7 +41,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) {