From 19fa08d45bd2069f4819d150541e0de417516676 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Thu, 30 Jan 2025 15:17:10 +0700 Subject: [PATCH] fix positionLevel emp --- src/controllers/OrganizationDotnetController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrganizationDotnetController.ts b/src/controllers/OrganizationDotnetController.ts index ce20cbf1..4836a11d 100644 --- a/src/controllers/OrganizationDotnetController.ts +++ b/src/controllers/OrganizationDotnetController.ts @@ -3094,7 +3094,7 @@ export class OrganizationDotnetController extends Controller { keycloak: item.keycloak, posNo: shortName, position: item.position, - positionLevel: item.posLevel?.posLevelName ?? null, + positionLevel: item.posLevel ? `${item.posType.posTypeShortName} ${item.posLevel.posLevelName}` : "-", positionType: item.posType?.posTypeName ?? null, oc: Oc, };