ensure node config

This commit is contained in:
Jan Prochazka
2022-08-27 19:17:49 +02:00
parent 80faf0fd68
commit 24923db199
3 changed files with 44 additions and 34 deletions

View File

@@ -116,6 +116,7 @@ export function createPerspectiveNodeConfig(name: { schemaName?: string; pureNam
export function createPerspectiveConfig(rootObject: { schemaName?: string; pureName: string }): PerspectiveConfig {
const rootNode = createPerspectiveNodeConfig(rootObject);
rootNode.isNodeChecked = true;
return {
nodes: [rootNode],
references: [],