We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a51cee commit d565050Copy full SHA for d565050
components/sidebar/SidebarProduct.tsx
@@ -54,8 +54,8 @@ export const SidebarProduct = () => {
54
const isStandaloneCategory = childPage.page.documentType === 'article'
55
56
const childTitle = childPage.renderedShortTitle || childPage.renderedFullTitle
57
-
58
- const isActive = routePath.includes(childPage.href) || routePath === childPage.href
+ const isActive =
+ routePath.includes(childPage.href + '/') || routePath === childPage.href
59
const defaultOpen = hasExactCategory ? isActive : false
60
return (
61
<li
0 commit comments