Fix control panel updates
This commit is contained in:
parent
b9d6ebc45d
commit
f5077005d9
@ -96,11 +96,11 @@ export class ControlPanel {
|
|||||||
state.refresh();
|
state.refresh();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|
||||||
DataStorage.onChange(() => {
|
DataStorage.onChange(
|
||||||
debounce(() => {
|
debounce(() => {
|
||||||
state.refresh();
|
state.refresh();
|
||||||
}, 500);
|
}, 500)
|
||||||
});
|
);
|
||||||
|
|
||||||
const tasks = this.scheduler.getTaskItems();
|
const tasks = this.scheduler.getTaskItems();
|
||||||
const buildingsInQueue = tasks
|
const buildingsInQueue = tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user