diff --git a/frontend/js/auth.js b/frontend/js/auth.js index ec2a18f..4be81ee 100644 --- a/frontend/js/auth.js +++ b/frontend/js/auth.js @@ -486,7 +486,7 @@ const AdminPanel = { document.getElementById("admin-user-form").addEventListener("submit", async (e) => { e.preventDefault(); const form = e.target; - const state.allVaults = document.getElementById("admin-all-vaults").checked; + const allVaults = document.getElementById("admin-all-vaults").checked; const selectedVaults = allVaults ? ["*"] : Array.from(form.querySelectorAll('input[name="vault"]:checked')).map((cb) => cb.value); try { diff --git a/frontend/js/utils.js b/frontend/js/utils.js index f5e46cf..1a6d216 100644 --- a/frontend/js/utils.js +++ b/frontend/js/utils.js @@ -209,7 +209,7 @@ function getFileIcon(name) { // Safe CDN helpers // --------------------------------------------------------------------------- -let state._iconDebounceTimer = null; +let _iconDebounceTimer = null; /** * Debounced icon creation — batches multiple rapid calls into one