fix: add safeCreateIcons import to auth.js + export closeHeaderMenu from ui.js
All checks were successful
CI / lint (push) Successful in 12s
CI / security (push) Successful in 8s
CI / test (push) Successful in 14s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-28 19:20:23 -04:00
parent e2b35fc19e
commit c83068f473
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */
import { state } from './state.js';
import { safeCreateIcons } from './utils.js';
import { showToast } from './ui.js';
// ---------------------------------------------------------------------------
// API helpers

View File

@ -192,7 +192,7 @@ export function initHeaderMenu() {
});
}
function closeHeaderMenu() {
export function closeHeaderMenu() {
const menuBtn = document.getElementById("header-menu-btn");
const menuDropdown = document.getElementById("header-menu-dropdown");
if (!menuBtn || !menuDropdown) return;