fix the sqlservices sample extension (#22893)

This commit is contained in:
Alan Ren
2023-04-28 14:45:20 -07:00
committed by GitHub
parent 4f53d76eb5
commit 15d26b7f9a
5 changed files with 420 additions and 16 deletions

View File

@@ -33,7 +33,8 @@ export class ObjectExplorerProvider implements azdata.ObjectExplorerProvider {
nodePath: RootNode,
nodeType: 'server',
label: 'abc',
isLeaf: false
isLeaf: false,
parentNodePath: ''
}
});
}, 500);
@@ -99,13 +100,15 @@ export class ObjectExplorerProvider implements azdata.ObjectExplorerProvider {
dark: this.context.asAbsolutePath('images/group_inverse.svg')
},
label: `obj 1 - ${timestamp}`,
isLeaf: false
isLeaf: false,
parentNodePath: nodeInfo.nodePath
}, {
nodePath: nodeInfo.nodePath + '/2',
nodeType: '',
icon: azdata.SqlThemeIcon.Column,
label: `obj 2 - ${timestamp}`,
isLeaf: false
isLeaf: false,
parentNodePath: nodeInfo.nodePath
}
]
});