Skip to content

Commit d3aa9c9

Browse files
authored
Merge pull request clenemt#51 from cahilfoley/patch-1
Fix error when including tutorials
2 parents fe9ab16 + 02726d0 commit d3aa9c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function buildMemberNav(items, itemHeading, itemsSeen, linktoFn) {
332332
if (docdash.private === false && item.access === 'private') return;
333333

334334
// depth to show?
335-
if (item.ancestors.length > level) {
335+
if (item.ancestors && item.ancestors.length > level) {
336336
classes += 'level-hide';
337337
}
338338

0 commit comments

Comments
 (0)