Skip to content

Commit f2f0553

Browse files
committed
Fix sidebar expansion for subheading groups
1 parent c7ba616 commit f2f0553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/theme-default/components/SidebarLinks.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function descendantIsActive (route, item) {
9696
} else {
9797
return child.type === 'page' && isActive(route, child.path)
9898
}
99-
})
99+
}) || item.path && isActive(route, item.path)
100100
}
101101
return false
102102
}

0 commit comments

Comments
 (0)