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 5029baf commit ed03520Copy full SHA for ed03520
packages/vuepress/vuepress-theme-titanium/components/Sidebar.vue
@@ -99,6 +99,9 @@ function markActiveItemRecursive (item, currentAnchor) {
99
}
100
101
function isActive (currentAnchor, path) {
102
+ if (!path) {
103
+ return false
104
+ }
105
const currentHash = currentAnchor.hash
106
const linkHash = getHash(path)
107
if (linkHash && currentHash !== linkHash) {
0 commit comments