diff --git a/src/controllers/ProfileGovernmentController.ts b/src/controllers/ProfileGovernmentController.ts index 518e3e12..551beef9 100644 --- a/src/controllers/ProfileGovernmentController.ts +++ b/src/controllers/ProfileGovernmentController.ts @@ -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: