diff --git a/backend/static/js/app.js b/backend/static/js/app.js index fd0e45f..c5f5ce9 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '164'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '166'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { @@ -267,8 +267,10 @@ const App = (() => { return; } - // Sidebar-Logo → Willkommensseite - if (e.target.closest('.sidebar-logo-text')) { + // Sidebar-Logo → Willkommensseite (oder Hund-Profil wenn Hund aktiv) + // Hinweis: dog-sw-title hat eigenen Listener; dieser Fallback greift nur + // wenn kein Hund aktiv ist (statischer "Ban Yaro"-Text ohne dog-sw-title). + if (e.target.closest('.sidebar-logo-text') && !e.target.closest('.dog-sw-title')) { navigate('welcome'); _closeSidebar(); return; @@ -587,13 +589,17 @@ const App = (() => {