mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
Fix minor issue with menu building
This commit is contained in:
parent
6af3ab74ed
commit
31b44c407e
|
@ -89,7 +89,7 @@ export default class SchemaManager {
|
|||
buildMenuTree() {
|
||||
let tag2MethodMapping = new Map();
|
||||
|
||||
let definedTags = this._schema.tags;
|
||||
let definedTags = this._schema.tags || [];
|
||||
// add tags into map to preserve order
|
||||
for (let tag of definedTags) {
|
||||
tag2MethodMapping.set(tag.name, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user