mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -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",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "sqlDatabaseProjects.exclude",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"view/item/context": [
|
||||
|
||||
@@ -37,7 +37,8 @@ export class ProjectRootTreeItem extends BaseProjectTreeItem {
|
||||
|
||||
public get children(): 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);
|
||||
|
||||
return output.concat(Object.values(this.fileChildren).sort(fileTree.sortFileFolderNodes));
|
||||
|
||||
Reference in New Issue
Block a user