Skip to content

Commit ca81b6d

Browse files
committed
fix: don't display operations without tags as tag items in menu
1 parent 3421be2 commit ca81b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/MenuBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class MenuBuilder {
120120

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

0 commit comments

Comments
 (0)