From 0d3b266a82dd72c47c50d4be720d42a64975a6b9 Mon Sep 17 00:00:00 2001 From: Nick De Villiers Date: Mon, 15 Apr 2024 15:54:17 +0100 Subject: [PATCH] fix(machines): tab link highlighting on machine summary MAASENG-3035 (#5407) --- .../views/MachineDetails/MachineHeader/MachineHeader.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/machines/views/MachineDetails/MachineHeader/MachineHeader.tsx b/src/app/machines/views/MachineDetails/MachineHeader/MachineHeader.tsx index acac229755..aa9c3eae73 100644 --- a/src/app/machines/views/MachineDetails/MachineHeader/MachineHeader.tsx +++ b/src/app/machines/views/MachineDetails/MachineHeader/MachineHeader.tsx @@ -153,6 +153,7 @@ const MachineHeader = ({ subtitleLoading={!isMachineDetails(machine)} tabLinks={[ { + active: pathname.startsWith(`${urlBase}/summary`), component: Link, label: "Summary", to: `${urlBase}/summary`,