mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 02:53:43 +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
|
// don't put empty tag into content, instead put its operations
|
||||||
if (tag.name === '') {
|
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);
|
res.push(...items);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user