hotfix workerhours
This commit is contained in:
parent
1a66987cd0
commit
6b07ee4eb1
|
@ -111,11 +111,9 @@ class Controller extends Section {
|
|||
dayIndex.setDate(dayIndex.getDate() + 1);
|
||||
}
|
||||
|
||||
if (this.worker) {
|
||||
this.fetchHours();
|
||||
this.getWeekData();
|
||||
}
|
||||
}
|
||||
|
||||
set weekTotalHours(totalHours) {
|
||||
this._weekTotalHours = this.formatHours(totalHours);
|
||||
|
@ -404,7 +402,7 @@ class Controller extends Section {
|
|||
});
|
||||
}
|
||||
|
||||
changeState(state, reason) {
|
||||
state(state, reason) {
|
||||
this.state = state;
|
||||
this.reason = reason;
|
||||
this.repaint();
|
||||
|
|
Loading…
Reference in New Issue