master #1820
|
@ -111,10 +111,8 @@ class Controller extends Section {
|
|||
dayIndex.setDate(dayIndex.getDate() + 1);
|
||||
}
|
||||
|
||||
if (this.worker) {
|
||||
this.fetchHours();
|
||||
this.getWeekData();
|
||||
}
|
||||
this.fetchHours();
|
||||
this.getWeekData();
|
||||
}
|
||||
|
||||
set weekTotalHours(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