fix: over-aggressive state.xxx replacements on local variables
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 8s
CI / test (push) Successful in 24s
CI / build (push) Successful in 3s

This commit is contained in:
Bruno Charest 2026-05-28 17:02:27 -04:00
parent 33cfefcb20
commit 6a55dfd5eb
2 changed files with 2 additions and 2 deletions

View File

@ -486,7 +486,7 @@ const AdminPanel = {
document.getElementById("admin-user-form").addEventListener("submit", async (e) => { document.getElementById("admin-user-form").addEventListener("submit", async (e) => {
e.preventDefault(); e.preventDefault();
const form = e.target; 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); const selectedVaults = allVaults ? ["*"] : Array.from(form.querySelectorAll('input[name="vault"]:checked')).map((cb) => cb.value);
try { try {

View File

@ -209,7 +209,7 @@ function getFileIcon(name) {
// Safe CDN helpers // Safe CDN helpers
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
let state._iconDebounceTimer = null; let _iconDebounceTimer = null;
/** /**
* Debounced icon creation batches multiple rapid calls into one * Debounced icon creation batches multiple rapid calls into one