Resource viewer cleanup (#13168)

* Resource viewer cleanup

* uneeded

* Only show in insiders
This commit is contained in:
Charles Gagnon
2020-10-30 16:48:50 -07:00
committed by GitHub
parent c6f72e6504
commit d7767c7d91
9 changed files with 37 additions and 56 deletions

View File

@@ -136,7 +136,7 @@ class TreeModel {
private readonly registry = Registry.as<ResourceViewerResourcesRegistry>(Extensions.ResourceViewerExtension);
getChildren(): ResourceType[] {
return this.registry.allResources.slice();
return this.registry.allResources.filter(resource => resource.id === 'azure-resources');
}
}