aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/App.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 28f6fea..84ad16b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -200,6 +200,7 @@ async function onEventReq(startDate: HistDate, endDate: HistDate){
pendingReq = true;
// Exclude exhausted range
if (isExhaustedRange(startDate, endDate)){
+ pendingReq = false;
return;
}
// Get existing events in range
@@ -222,6 +223,7 @@ async function onEventReq(startDate: HistDate, endDate: HistDate){
});
let responseObj: HistEventJson[] = await queryServer(urlParams);
if (responseObj == null){
+ pendingReq = false;
return;
}
// Add to map