fix ข้อมูลหน่วยงานที่สังกัดอยู่ไม่แสดง #2185
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s

This commit is contained in:
harid 2026-01-12 13:55:56 +07:00
parent 88c276c7aa
commit 82527f0f49

View file

@ -1030,7 +1030,7 @@ export class WorkflowController extends Controller {
: data.map((x: any) => ({
...x,
posExecutiveNameOrg:
x.posExecutiveName ?? "" +
(x.posExecutiveName ?? "") +
(x.orgChild4 ?? x.orgChild3 ?? x.orgChild2 ?? x.orgChild1 ?? x.orgRoot ?? ""),
}));
@ -1227,7 +1227,7 @@ export class WorkflowController extends Controller {
const processedData = data.map((x: any) => ({
...x,
posExecutiveNameOrg:
x.posExecutiveName ?? "" +
(x.posExecutiveName ?? "") +
(x.orgChild4 ?? x.orgChild3 ?? x.orgChild2 ?? x.orgChild1 ?? x.orgRoot ?? ""),
}));