Skip to content

Commit

Permalink
Merge pull request #203 from kausaltech/fix/home-link-url
Browse files Browse the repository at this point in the history
fix: navigate to active plan home rather than root umbrella plan
  • Loading branch information
woodwoerk authored Oct 26, 2023
2 parents d3b2814 + 7fcc7a0 commit e8b03a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/common/GlobalNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function GlobalNav(props) {
{homeLink && (
<NavItem active={activeBranch === ''}>
<NavLink>
<NavigationLink slug={rootLink}>
<NavigationLink slug={plan.viewUrl ?? '/'}>
<NavHighlighter
className={`highlighter ${
activeBranch === '' ? 'active' : ''
Expand Down

0 comments on commit e8b03a2

Please sign in to comment.