From 943bb42ffb57668b0d6f58dc93d2db9b5fd8b2fe Mon Sep 17 00:00:00 2001 From: mamoss <> Date: Wed, 14 May 2025 01:50:24 +0700 Subject: [PATCH] add " " --- src/controllers/OrganizationDotnetController.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/OrganizationDotnetController.ts b/src/controllers/OrganizationDotnetController.ts index 2a0cdc67..afbce1ac 100644 --- a/src/controllers/OrganizationDotnetController.ts +++ b/src/controllers/OrganizationDotnetController.ts @@ -675,7 +675,9 @@ export class OrganizationDotnetController extends Controller { commanderId, commanderKeycloak, posLevel: - (profile.posType?.posTypeShortName ?? null) + (profile.posLevel?.posLevelName ?? null), + (profile.posType == null || profile.posType?.posTypeShortName == null + ? "" + : profile.posType?.posTypeShortName + " ") + (profile.posLevel?.posLevelName ?? null), posType: profile.posType?.posTypeName ?? null, profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null, profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,