fix: bouton aide — help-open-btn au lieu de header-help-btn
This commit is contained in:
parent
800a8c34a1
commit
120c7433f8
@ -27,7 +27,7 @@ const COMMANDS = [
|
||||
{ id: 'home', label: '🏠 Accueil', description: 'Retour à l\'accueil', action: () => { close(); triggerGoHome(); } },
|
||||
{ id: 'theme', label: '🌓 Changer le thème', description: 'Basculer clair/sombre', action: () => { close(); toggleTheme(); } },
|
||||
{ id: 'reindex', label: '🔄 Réindexer', description: 'Forcer la réindexation complète', action: async () => { close(); try { await api('/api/index/reload'); showToast('Index rechargé', 'success'); } catch { showToast('Erreur de réindexation', 'error'); } } },
|
||||
{ id: 'help', label: '❓ Aide', description: 'Ouvrir l\'aide', action: () => { close(); const helpBtn = document.getElementById('header-help-btn'); if (helpBtn) helpBtn.click(); } },
|
||||
{ id: 'help', label: '❓ Aide', description: 'Ouvrir l\'aide', action: () => { close(); const btn = document.getElementById('help-open-btn'); if (btn) btn.click(); } },
|
||||
{ id: 'config', label: '⚙️ Configuration', description: 'Ouvrir les paramètres', action: () => { close(); const btn = document.getElementById('config-open-btn'); if (btn) btn.click(); } },
|
||||
];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user