From 997116802545de89c5d2fa7735b8ecbfc168e605 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 18:51:06 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20remaining=20const=20state.allVaults=20?= =?UTF-8?q?=E2=86=92=20allVaults=20in=20auth.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/js/auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/js/auth.js b/frontend/js/auth.js index de9b028..4be81ee 100644 --- a/frontend/js/auth.js +++ b/frontend/js/auth.js @@ -486,8 +486,8 @@ 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 selectedVaults = state.allVaults ? ["*"] : Array.from(form.querySelectorAll('input[name="vault"]:checked')).map((cb) => cb.value); + const allVaults = document.getElementById("admin-all-vaults").checked; + const selectedVaults = allVaults ? ["*"] : Array.from(form.querySelectorAll('input[name="vault"]:checked')).map((cb) => cb.value); try { if (isEdit) {