Fix resource viewer not showing on insiders builds (#14063)

This commit is contained in:
Charles Gagnon
2021-01-26 18:02:36 -08:00
committed by GitHub
parent e79a80590a
commit a04c2f3ba6

View File

@@ -55,7 +55,7 @@ class ResourceViewerContributor implements IWorkbenchContribution {
@IProductService readonly productService: IProductService
) {
// Only show for insiders and dev
if (['insiders', ''].includes(productService.quality ?? '') && configurationService.getValue('workbench.enablePreviewFeatures')) {
if (['insider', ''].includes(productService.quality ?? '') && configurationService.getValue('workbench.enablePreviewFeatures')) {
registerResourceViewerContainer();
}
}