fix: null error

This commit is contained in:
Methapon2001 2024-03-29 09:12:01 +07:00
parent 55f1c1add8
commit 69079d5514

View file

@ -112,7 +112,7 @@ export class ProfileGovernmentHistoryController extends Controller {
org: org, //สังกัด
positionField: position == null ? null : position.positionField, //สายงาน
position: record.position, //ตำแหน่ง
posLevel: record.posLevel.posLevelName, //ระดับ
posLevel: record.posLevel.posLevelName || null, //ระดับ
posMasterNo: posMaster == null ? null : `${orgShortName} ${posMaster.posMasterNo}`, //เลขที่ตำแหน่ง
posType: record.posType.posTypeName, //ประเภท
posExecutive: