From 3eb7ef3ae6bf03a27901a0121fe04a1636a2340c Mon Sep 17 00:00:00 2001 From: Lars Date: Tue, 21 Apr 2026 08:19:34 +0200 Subject: [PATCH] feat: enhance navigation state handling for history overview - Updated NavLink components in App and DesktopSidebar to conditionally pass state for the '/history' route, improving user experience by maintaining the selected tab on navigation. --- frontend/src/App.jsx | 1 + frontend/src/components/DesktopSidebar.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index f1ad5c1..4e397fe 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -79,6 +79,7 @@ function Nav({ isAdmin }) { 'nav-item' + diff --git a/frontend/src/components/DesktopSidebar.jsx b/frontend/src/components/DesktopSidebar.jsx index 2e99b8a..bacd287 100644 --- a/frontend/src/components/DesktopSidebar.jsx +++ b/frontend/src/components/DesktopSidebar.jsx @@ -35,6 +35,7 @@ export default function DesktopSidebar({ 'desktop-sidebar__link' +