We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb793ec commit d087d57Copy full SHA for d087d57
src/core/render/index.js
@@ -84,7 +84,7 @@ export function renderMixin (proto) {
84
this._renderTo('.sidebar-nav', this.compiler.sidebar(text, maxLevel))
85
const activeEl = getAndActive(this.router, '.sidebar-nav', true, true)
86
if (loadSidebar && activeEl) {
87
- activeEl.parentNode.innerHTML += this.compiler.subSidebar(subMaxLevel)
+ activeEl.parentNode.innerHTML += (this.compiler.subSidebar(subMaxLevel) || '')
88
} else {
89
// reset toc
90
this.compiler.subSidebar()
0 commit comments