Init node item (#45218)

This commit is contained in:
Alex Khomenko
2022-02-11 17:18:33 +02:00
committed by GitHub
parent cd05ee0054
commit 574f609550

View File

@@ -114,7 +114,7 @@ export function buildNavModel(dataSource: DataSourceSettings, plugin: GenericDat
}
export function getDataSourceNav(main: NavModelItem, pageName: string): NavModel {
let node: NavModelItem;
let node: NavModelItem = { text: '' };
// find active page
for (const child of main.children!) {