[FIX] hr_holidays: show Dashboard data in mobile
The number of leaves taken / available was no longer available in mobile. closes odoo/odoo#80513 Taskid: 2701070 X-original-commit: 3c68b1cad227235a915b4908b6d73aee030e54bc Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -24,7 +24,7 @@ export const TimeOffCalendarRenderer = TimeOffPopoverRenderer.extend({
|
||||
const elem = QWeb.render('hr_holidays.dashboard_calendar_header_mobile', {
|
||||
timeoff: data,
|
||||
});
|
||||
this.$el.find('.o_calendar_filter_item[data-value=' + data[4] + '] .o_cw_filter_title').append(elem);
|
||||
this.$el.find('.o_calendar_filter_item[data-value=' + data[3] + '] .o_cw_filter_title').append(elem);
|
||||
});
|
||||
} else {
|
||||
const elem = QWeb.render('hr_holidays.dashboard_calendar_header', {
|
||||
|
||||
Reference in New Issue
Block a user