null check

This commit is contained in:
rxdn 2020-06-18 15:25:40 +01:00
parent e893728294
commit df589f3dd0

View File

@ -222,6 +222,7 @@
}
// append errors
if (res.data.errors !== null) {
for (error of res.data.errors) {
const message = error.Message;
const time = new Date(error.Time);
@ -232,6 +233,7 @@
document.getElementById('error_body').appendChild(tr);
}
}
}
async function loadGuilds() {
// get selected guild