diff options
Diffstat (limited to 'dist/js/teachers.js')
-rw-r--r-- | dist/js/teachers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/teachers.js b/dist/js/teachers.js index 5fc2baf..da69e96 100644 --- a/dist/js/teachers.js +++ b/dist/js/teachers.js @@ -29,7 +29,7 @@ async function loadTeachers(force_refresh = false) { ]; await Promise.all(promises_to_run); // If we don't have a list of teachers, query it - if (teachers === null || force_refresh) { + if (teachers === null || teachers === [] || force_refresh) { try { let gsecInstance = new gsec(); await gsecInstance.login(username, password); |