(cherry picked from commit 574f609550)
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
co-authored by
Alex Khomenko
parent
099e6ee22d
commit
382600c9eb
@@ -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!) {
|
||||
|
||||
Reference in New Issue
Block a user