Send edit button to beta dashboard

This commit is contained in:
jude
2023-09-23 20:32:57 +01:00
parent 0bf578357a
commit 52cf642455
2 changed files with 1 additions and 20 deletions

View File

@ -1,19 +0,0 @@
let _reminderErrors = [];
const reminderErrors = () => {
return _reminderErrors;
}
const guildId = () => {
let selected: HTMLElement = document.querySelector(".guildList a.is-active");
return selected.dataset["guild"];
}
function loadErrors() {
fetch(`/dashboard/api/guild/${guildId()}/errors`).then(response => response.json())
}
document.addEventListener('DOMContentLoaded', () => {
})