Merge pull request 'the absences are now fetched alongside the hours' (#689) from 3018-time_control_info into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #689 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
a5ea19b527
|
@ -106,6 +106,7 @@ class Controller extends Section {
|
|||
};
|
||||
this.$.model.applyFilter(filter, params).then(() => {
|
||||
this.getWorkedHours(this.started, this.ended);
|
||||
this.getAbsences();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -129,7 +130,7 @@ class Controller extends Section {
|
|||
onData(data) {
|
||||
const events = {};
|
||||
|
||||
let addEvent = (day, event) => {
|
||||
const addEvent = (day, event) => {
|
||||
events[new Date(day).getTime()] = event;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue