fix response orgName

This commit is contained in:
AdisakKanthawilang 2025-04-03 16:49:44 +07:00
parent 26a16c6833
commit 8723fdd81d

View file

@ -299,7 +299,7 @@ export class ProfileGovernmentHistoryController extends Controller {
posMaster == null || posMaster.orgChild1 == null ? null : posMaster.orgChild1.orgChild1Name,
posMaster == null || posMaster.orgRoot == null ? null : posMaster.orgRoot.orgRootName,
];
const org = fullNameParts.filter((part) => part !== undefined && part !== null).join(" ");
const org = fullNameParts.filter((part) => part !== undefined && part !== null).join("/n");
let orgShortName = "";
if (posMaster != null) {
if (posMaster.orgChild1Id === null) {