From e37246974eaf4f9bead227016ae588a55ba552ce Mon Sep 17 00:00:00 2001 From: QuickMythril Date: Sun, 2 Feb 2025 02:36:40 -0500 Subject: [PATCH] v1.06.1 from QDN --- assets/js/ARBoard.js | 7 ++++ assets/js/MinterBoard.js | 74 +++++++++++++++++++++++++++++++++++++-- assets/js/Q-Mintership.js | 2 +- index.html | 4 +-- 4 files changed, 81 insertions(+), 6 deletions(-) diff --git a/assets/js/ARBoard.js b/assets/js/ARBoard.js index 2bab0cf..d9a4464 100644 --- a/assets/js/ARBoard.js +++ b/assets/js/ARBoard.js @@ -117,6 +117,13 @@ const loadAddRemoveAdminPage = async () => { linksContainer.appendChild(newLinkInput) }) + const timeRangeSelectCheckbox = document.getElementById('time-range-select') + if (timeRangeSelectCheckbox) { + timeRangeSelectCheckbox.addEventListener('change', async (event) => { + await loadCards(addRemoveIdentifierPrefix) + }) + } + document.getElementById("publish-card-form").addEventListener("submit", async (event) => { event.preventDefault() await publishARCard(addRemoveIdentifierPrefix) diff --git a/assets/js/MinterBoard.js b/assets/js/MinterBoard.js index 196cc01..80621fa 100644 --- a/assets/js/MinterBoard.js +++ b/assets/js/MinterBoard.js @@ -37,6 +37,7 @@ const loadMinterBoardPage = async () => { + +