the absences are now fetched alongside the hours
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9f5df91be4
commit
559eaf5853
|
@ -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