summaryrefslogtreecommitdiffstats
path: root/dist/js/absences.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js/absences.js')
-rw-r--r--dist/js/absences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/absences.js b/dist/js/absences.js
index a11d042..2ed5fe8 100644
--- a/dist/js/absences.js
+++ b/dist/js/absences.js
@@ -49,7 +49,7 @@ async function loadAbsences(forceRefresh = false) {
];
await Promise.all(promisesToRun);
// If we don't have a list of absences, query it
- if (absences === null || forceRefresh) {
+ if (absences === null || absences === {} || forceRefresh) {
try {
let gsecInstance = new gsec();
await gsecInstance.login(username, password);