แก้ null (null)
This commit is contained in:
parent
b4a2bb253d
commit
e598af0d1c
1 changed files with 6 additions and 1 deletions
|
|
@ -172,7 +172,12 @@ async function fetchlistprofile(id: string) {
|
||||||
organization: e.root,
|
organization: e.root,
|
||||||
position: e.position,
|
position: e.position,
|
||||||
positionNumber: e.posNo,
|
positionNumber: e.posNo,
|
||||||
positionType: `${e.posTypeName} (${e.posLevelName})`,
|
positionType:
|
||||||
|
e.posTypeName && e.posLevelName !== null
|
||||||
|
? `${e.posTypeName} ${
|
||||||
|
e.posLevelName ? `(${e.posLevelName})` : ""
|
||||||
|
}`
|
||||||
|
: "-",
|
||||||
positionLevel: e.posLevelName,
|
positionLevel: e.posLevelName,
|
||||||
reason: e.reason,
|
reason: e.reason,
|
||||||
remove: e.remove,
|
remove: e.remove,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue