fix bug cardprofile
This commit is contained in:
parent
0809cbfcc1
commit
b29c89ebe4
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ function fetchDataProfile(data: DataProfile) {
|
|||
|
||||
profile.id = data.profileId;
|
||||
profile.fullName = `${data.prefix}${data.firstName} ${data.lastName}`;
|
||||
profile.position = data.position !== "" ? data.position : "-";
|
||||
profile.position =
|
||||
data.position == "" || data.position === null ? "-" : data.position;
|
||||
if (data.posTypeName && data.posLevelName) {
|
||||
profile.positionLevel = `${data.posTypeName} (${data.posLevelName})`;
|
||||
} else if (data.posTypeName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue