Fixed accidental removal of Minter Board Links and updated to 0.42beta

This commit is contained in:
2024-12-17 08:35:41 -08:00
parent 64718cca37
commit 575ff48bb7
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ document.addEventListener('DOMContentLoaded', async () => {
console.log(`User is an Admin, buttons for MA Tools not removed. userState.isAdmin = ${userState.isMinterAdmin}`);
} else {
// Remove all "TOOLS" links and their related elements
const toolsLinks = document.querySelectorAll('a[href="TOOLS"], a[href="MINTER-BOARD"], a[href="MINTERS"]');
const toolsLinks = document.querySelectorAll('a[href="TOOLS"], a[href="DATA-BOARD"]');
toolsLinks.forEach(link => {
// If the link is within a button, remove the button
const buttonParent = link.closest('button');