fix: null assertion
This commit is contained in:
parent
79a39554ee
commit
4084f8b4e8
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export class ProfileGovernmentHistoryController extends Controller {
|
||||||
org: org, //สังกัด
|
org: org, //สังกัด
|
||||||
positionField: position == null ? null : position.positionField, //สายงาน
|
positionField: position == null ? null : position.positionField, //สายงาน
|
||||||
position: record.position, //ตำแหน่ง
|
position: record.position, //ตำแหน่ง
|
||||||
posLevel: record.posLevel.posLevelName || null, //ระดับ
|
posLevel: record.posLevel?.posLevelName || null, //ระดับ
|
||||||
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
|
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
|
||||||
posType: record.posType.posTypeName, //ประเภท
|
posType: record.posType.posTypeName, //ประเภท
|
||||||
posExecutive:
|
posExecutive:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue