Skip to content

Commit

Permalink
fix: don't display operations without tags as tag items in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Nov 24, 2017
1 parent 3421be2 commit ca81b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/MenuBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class MenuBuilder {

// don't put empty tag into content, instead put its operations
if (tag.name === '') {
let items = this.getOperationsItems(parser, undefined, tag, item.depth, options);
let items = this.getOperationsItems(parser, undefined, tag, item.depth + 1, options);
res.push(...items);
continue;
}
Expand Down

0 comments on commit ca81b6d

Please sign in to comment.