Fix small bug: no new countdown will be started if a countdown is already running

This commit is contained in:
pietervdvn 2021-04-21 01:25:00 +02:00
parent 33ebc6b9c4
commit d7277838e4

View file

@ -125,7 +125,12 @@ export default class UpdateFromOverpass implements FeatureSource {
private update(): void {
if (this.runningQuery.data) {
console.log("Still running a query, skip");
console.log("Still running a query, not updating");
return;
}
if(this.timeout.data > 0){
console.log("Still in timeout - not updating")
return;
}