From fd8f88db4b4d22a6b9810fd7349369884973f650 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Wed, 4 Nov 2020 14:34:13 -0800 Subject: [PATCH] Only show resource viewer on insiders and dev (#13238) --- .../resourceViewer/browser/resourceViewer.contribution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sql/workbench/contrib/resourceViewer/browser/resourceViewer.contribution.ts b/src/sql/workbench/contrib/resourceViewer/browser/resourceViewer.contribution.ts index 054fb166c5..45fe5e6999 100644 --- a/src/sql/workbench/contrib/resourceViewer/browser/resourceViewer.contribution.ts +++ b/src/sql/workbench/contrib/resourceViewer/browser/resourceViewer.contribution.ts @@ -54,7 +54,8 @@ class ResourceViewerContributor implements IWorkbenchContribution { @IConfigurationService readonly configurationService: IConfigurationService, @IProductService readonly productService: IProductService ) { - if (productService.quality !== 'stable' && productService.quality !== 'saw' && configurationService.getValue('workbench.enablePreviewFeatures')) { + // Only show for insiders and dev + if (['insiders', ''].includes(productService.quality ?? '') && configurationService.getValue('workbench.enablePreviewFeatures')) { registerResourceViewerContainer(); } }