add refresh flag to getdata funcions
This commit is contained in:
parent
b272aa298a
commit
23cc1a1f7a
14 changed files with 34 additions and 18 deletions
|
|
@ -23,7 +23,7 @@ class HourlyGraph extends WeatherDisplay {
|
|||
this.elem.querySelector('.header .right').append(header);
|
||||
}
|
||||
|
||||
async getData() {
|
||||
async getData(_weatherParameters, refresh) {
|
||||
if (!super.getData()) return;
|
||||
|
||||
const data = await getHourlyData(() => this.stillWaiting());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue