From 4e44c708d9811635b9694c29c22485a20e43324d Mon Sep 17 00:00:00 2001 From: raman Date: Wed, 2 Apr 2025 15:33:27 +0530 Subject: [PATCH] FIX Dashboard --- .../hr_emp_dashboard/static/src/js/profile_component.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js b/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js index 15795ac2d..23b5c1ebb 100644 --- a/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js +++ b/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js @@ -34,7 +34,8 @@ export class NetflixProfileContainer extends Component { attendance_state:null, mobile_phone: '', work_email: '', - private_street: '' + private_street: '', + department_id:'' }, attendance_lines:[], leaves:[] @@ -181,6 +182,7 @@ export class NetflixProfileContainer extends Component { mobile_phone: employee.mobile_phone, work_email: employee.work_email, private_street: employee.private_street, + department_id:employee.department_id[1] }; } } catch (error) {