mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 00:56:33 +03:00
fix: don't display operations without tags as tag items in menu
This commit is contained in:
parent
3421be2ea3
commit
ca81b6dfaf
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user