fix: AuthManager import + openConfigModal reference erreur
CI / lint (push) Failing after 2s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after -7s

This commit is contained in:
2026-06-16 12:29:54 -04:00
parent c4b797f0b4
commit 85efc068c4
+3 -2
View File
@@ -1,5 +1,5 @@
// config.js — extracted from app.js (3872-4865)
import { api } from './auth.js';
import { api, AuthManager } from './auth.js';
import { state } from './state.js';
import { el, icon, openFile } from './viewer.js';
import { syncVaultSelectors, setSelectedVaultContext, refreshSidebarForContext, loadVaults, loadVaultSettings, loadTags, TagFilterService, refreshSidebarTreePreservingState } from './sidebar.js';
@@ -621,7 +621,8 @@ function initConfigModal() {
var profileBtn = document.getElementById("profile-open-btn");
if (profileBtn) {
profileBtn.addEventListener("click", function() {
openConfigModal();
var modal = document.getElementById("config-modal");
if (modal) modal.classList.add("active");
setTimeout(function() {
var el = document.getElementById("cfg-profile");
if (el) el.scrollIntoView({ behavior: 'smooth' });