fix: don't display operations without tags as tag items in menu

This commit is contained in:
Roman Hotsiy 2017-11-24 11:49:01 +02:00
parent 3421be2ea3
commit ca81b6dfaf
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -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;
}