Admin Panel: Logout-Button in Sidebar hinzugefügt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-09 22:42:36 +01:00
parent 354a9cd977
commit 8951f46536
6 changed files with 67 additions and 47 deletions

View file

@ -394,7 +394,7 @@ export default function App() {
)}
{showAdminPanel && isAdmin && (
<AdminPanel onClose={() => setShowAdminPanel(false)} />
<AdminPanel onClose={() => setShowAdminPanel(false)} onLogout={() => { handleAdminLogout(); setShowAdminPanel(false); }} />
)}
<main className="hub-content">