Skip to content

Commit

Permalink
Only highlight main nav items on exact match. (#4401)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobbins authored Sep 27, 2024
1 parent fc41ec5 commit 92b37fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/elements/chromedash-drawer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class ChromedashDrawer extends LitElement {
}

isCurrentPage(href) {
return this.currentPage.startsWith(href);
return this.currentPage === href;
}

toggleDrawerActions() {
Expand Down

0 comments on commit 92b37fe

Please sign in to comment.