[deploy] Guard module list rendering when element missing
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
This commit is contained in:
@@ -2232,6 +2232,7 @@ router.get('/', (req, res) => {
|
||||
if (!res.ok) return;
|
||||
const data = await res.json();
|
||||
const list = document.getElementById('moduleList');
|
||||
if (!list) return;
|
||||
list.innerHTML = '';
|
||||
let ticketsActive = false;
|
||||
let statuspageActive = false;
|
||||
|
||||
Reference in New Issue
Block a user