From e2b35fc19e54eeff7037d67ae3ed5f6d9083007c Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 18:55:00 -0400 Subject: [PATCH] fix: remove duplicate inline exports from legacy.js (already in export block) --- frontend/js/legacy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/js/legacy.js b/frontend/js/legacy.js index a820873..3f6b7f4 100644 --- a/frontend/js/legacy.js +++ b/frontend/js/legacy.js @@ -44,7 +44,7 @@ function hideProgressBar() { // loadVaultSettings // ========================================================================= -export async function loadVaultSettings() { +async function loadVaultSettings() { try { const settings = await api("/api/vaults/settings/all"); state.vaultSettings = settings; @@ -84,7 +84,7 @@ function _isInputFocused() { // initSearch // ========================================================================= -export function initSearch() { +function initSearch() { const input = document.getElementById("search-input"); if (!input) return; const caseBtn = document.getElementById("search-case-btn"); @@ -309,7 +309,7 @@ export function initSearch() { // showWelcome // ========================================================================= -export function showWelcome() { +function showWelcome() { hideProgressBar(); // Restore or rebuild the dashboard with tabbed sections @@ -422,7 +422,7 @@ export function showWelcome() { // goHome // ========================================================================= -export function goHome() { +function goHome() { const searchInput = document.getElementById("search-input"); if (searchInput) searchInput.value = "";