mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +03:00
Fix crash on undefined tag
This commit is contained in:
parent
dc01ad9556
commit
7418372e60
|
@ -30,7 +30,7 @@ export default class Method extends BaseComponent {
|
|||
|
||||
filterMainTags(tags) {
|
||||
var tagsMap = this.schemaMgr.getTagsMap();
|
||||
return tags.filter(tag => tagsMap[tag]['x-secondaryTag']);
|
||||
return tags.filter(tag => tagsMap[tag] && tagsMap[tag]['x-secondaryTag']);
|
||||
}
|
||||
|
||||
findBodyParam() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user