From 108ba8f167fb4a3d4b3576135af86a6dfcf95218 Mon Sep 17 00:00:00 2001 From: Xavier Date: Thu, 8 Oct 2026 18:33:46 +0200 Subject: [PATCH] =?UTF-8?q?fix(ui):=20restauration=20de=20l'acc=C3=A8s=20?= =?UTF-8?q?=C3=A0=20la=20vue=20compl=C3=A8te=20de=20configuration=20(Profi?= =?UTF-8?q?l,=20Admin,=20Super-Admin)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/dashboard.html | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/frontend/dashboard.html b/frontend/dashboard.html index 5c4e872..6b8de26 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -22,26 +22,6 @@
- - -
-
-
-

Paramètres

- -
-
-

Sécurité du compte

-
{{ settingsMessage }}
-
-
-
- -
-
-
@@ -244,7 +224,7 @@ - + @@ -453,9 +433,8 @@ const isSyncing = ref(false); const isSavingSettings = ref(false); - const isSettingsModalOpen = ref(false); - const settingsMessage = ref(""); const passForm = reactive({ old: '', new: '', confirm: '' }); + const settingsMessage = ref(""); const modelInfo = reactive({ last_sync_date: null, last_sync_type: null, models: [] }); const financesList = ref([]); @@ -528,8 +507,11 @@ const autoResize = () => { const el = promptTextarea.value; if(el){ el.style.height = 'auto'; el.style.height = el.scrollHeight + 'px'; }}; const scrollToBottom = () => { nextTick(() => { const c = document.getElementById('chat-container'); if (c) c.scrollTop = c.scrollHeight; }); }; - const openSettings = () => { isSettingsModalOpen.value = true; nextTick(() => lucide.createIcons()); }; - const closeSettings = () => { isSettingsModalOpen.value = false; }; + const openSettings = () => { + activeView.value = 'settings'; + if(window.innerWidth < 768) isSidebarOpen.value = false; + nextTick(() => lucide.createIcons()); + }; const logToTerminal = async (msg) => { try { await fetch('/api/logs', { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ message: msg }) }); } catch(e){} @@ -893,7 +875,7 @@ user, activeView, settingsTab, isSidebarOpen, toggleSidebar, prompt, autoResize, promptTextarea, projects, pinnedProjects, recentProjects, activeProject, messages, isAiThinking, createNewProject, selectProject, renameProject, sendMessage, isLoading, togglePin, deleteProject, - isSettingsModalOpen, openSettings, closeSettings, passForm, settingsMessage, isSavingSettings, changePassword, uploadAvatar, + openSettings, passForm, settingsMessage, isSavingSettings, changePassword, uploadAvatar, modelInfo, financesList, filterSearch, filterDomain, filterPricing, filterProvider, uniqueProviders, filteredModels, getFilteredModelsForCol, formatDate, syncModels, isSyncing, workers, selectedPrompter, selectedConcatenator, colPricing, colDomain, downloadTemplate, exportCSV, handleConfigImport, attachedFiles, handleFileUpload, handlePaste, removeFile,