mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
minor cleanups to hide extra tree items and command that are not required (#12038)
This commit is contained in:
@@ -225,6 +225,10 @@
|
|||||||
{
|
{
|
||||||
"command": "sqlDatabaseProjects.openContainingFolder",
|
"command": "sqlDatabaseProjects.openContainingFolder",
|
||||||
"when": "false"
|
"when": "false"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "sqlDatabaseProjects.exclude",
|
||||||
|
"when": "false"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"view/item/context": [
|
"view/item/context": [
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ export class ProjectRootTreeItem extends BaseProjectTreeItem {
|
|||||||
|
|
||||||
public get children(): BaseProjectTreeItem[] {
|
public get children(): BaseProjectTreeItem[] {
|
||||||
const output: BaseProjectTreeItem[] = [];
|
const output: BaseProjectTreeItem[] = [];
|
||||||
output.push(this.dataSourceNode);
|
// [8/31/2020] Hiding Data source for Preview since we do not have a way to add or update those.
|
||||||
|
// output.push(this.dataSourceNode);
|
||||||
output.push(this.databaseReferencesNode);
|
output.push(this.databaseReferencesNode);
|
||||||
|
|
||||||
return output.concat(Object.values(this.fileChildren).sort(fileTree.sortFileFolderNodes));
|
return output.concat(Object.values(this.fileChildren).sort(fileTree.sortFileFolderNodes));
|
||||||
|
|||||||
Reference in New Issue
Block a user