Fix up data explorer contributed actions on OE nodes (#11685)

* Fix up data explorer contributed actions on OE nodes

* sql carbon edit

* add Database node
This commit is contained in:
Charles Gagnon
2020-08-11 10:25:38 -07:00
committed by GitHub
parent 86fcd05eff
commit aecb0efbc0
7 changed files with 52 additions and 45 deletions

View File

@@ -58,7 +58,7 @@ export class ExtHostTreeViews implements ExtHostTreeViewsShape {
) {
function isTreeViewItemHandleArg(arg: any): boolean {
return arg && arg.$treeViewId && arg.$treeItemHandle;
return arg && arg.$treeViewId && arg.$treeItemHandle && !arg.$treeItem?.payload; // {{SQL CARBON EDIT}} Don't process Data Explorer tree items
}
commands.registerArgumentProcessor({
processArgument: arg => {