This commit is contained in:
mamoss 2025-05-14 01:50:24 +07:00
parent 02e1e36a9c
commit 943bb42ffb

View file

@ -675,7 +675,9 @@ export class OrganizationDotnetController extends Controller {
commanderId, commanderId,
commanderKeycloak, commanderKeycloak,
posLevel: 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, posType: profile.posType?.posTypeName ?? null,
profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null, profileSalary: profile.profileSalary.length > 0 ? profile.profileSalary[0] : null,
profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null, profileInsignia: profile.profileInsignias.length > 0 ? profile.profileInsignias[0] : null,