1
1
mirror of https://github.com/Redocly/redoc.git synced 2025-02-27 23:52:46 +03:00

Minor fix in menu

This commit is contained in:
Roman Hotsiy 2017-01-06 12:55:50 +02:00
parent 1d7e0b0e90
commit 3c0d7301c8
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -136,7 +136,7 @@ export class MenuService {
getEl(flatIdx:number):Element {
if (flatIdx < 0) return null;
let currentItem = this.flatItems[flatIdx];
if (!currentItem) return;
if (currentItem.isGroup) currentItem = this.flatItems[flatIdx + 1];
let selector = '';