show total reminders and intervals on admin dash
This commit is contained in:
1 parent
dda8bd3e10
commit
1a1a0fdefb
3 files changed
+38
No files matched your search
@@ -3,6 +3,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
.then((resp) => resp.json())
|
||||
.then((data) => {
|
||||
document.querySelector("#backlog").textContent = data.backlog;
|
||||
document.querySelector("#reminders").textContent = data.count.reminders;
|
||||
document.querySelector("#intervals").textContent = data.count.intervals;
|
||||
|
||||
new Chart(document.getElementById("schedule"), {
|
||||
type: "bar",
|
||||
|
||||
Reference in new issue
Block a user