Skip to content

Commit

Permalink
Don't create navigation links to empty declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
alalonde authored and Gerrit0 committed Jan 15, 2020
1 parent 52fa7fa commit 15ea85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/output/themes/DefaultTheme.ts
Expand Up @@ -384,7 +384,7 @@ export class NavigationBuilder {
target = target.parent;
}

if (inScope && someModule instanceof DeclarationReflection) {
if (inScope && someModule instanceof DeclarationReflection && someModule.children && someModule.children.length > 0) {
modules.push(someModule);
}
});
Expand Down

0 comments on commit 15ea85f

Please sign in to comment.