fix Noti แจ้งเตือนผิด #2417
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s

This commit is contained in:
harid 2026-04-09 17:20:24 +07:00
parent 15ac8d0514
commit 6a1ca6b867
4 changed files with 9 additions and 4 deletions

View file

@ -363,7 +363,8 @@ export class ProfileEditEmployeeController extends Controller {
posLevelName: "EMP",
posTypeName: "EMP",
fullName: `${profile.prefix}${profile.firstName} ${profile.lastName}`,
isDeputy: orgRoot?.isDeputy ?? false
isDeputy: orgRoot?.isDeputy ?? false,
orgRootId: orgRoot?.id ?? null
})
.catch((error) => {
console.error("Error calling API:", error);