only show the tabs for server context (#9344)

This commit is contained in:
Alan Ren
2020-02-26 16:11:43 -08:00
committed by GitHub
parent 2ae3810dac
commit 80baa4a732
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
"description": "Manage and troubleshoot SQL Agent jobs",
"provider": "MSSQL",
"title": "SQL Agent",
"when": "connectionProvider == 'MSSQL' && !mssql:iscloud && mssql:engineedition != 11",
"when": "connectionProvider == 'MSSQL' && !mssql:iscloud && mssql:engineedition != 11 && dashboardContext == 'server'",
"container": {
"controlhost-container": {
"type": "agent"

View File

@@ -88,7 +88,7 @@
"description": "%description%",
"provider": "MSSQL",
"title": "%displayName%",
"when": "connectionProvider == 'MSSQL' && !mssql:iscloud",
"when": "connectionProvider == 'MSSQL' && !mssql:iscloud && dashboardContext == 'server'",
"container": {
"grid-container": [
{

View File

@@ -443,7 +443,7 @@
"description": "%tab.bigDataClusterDescription%",
"provider": "MSSQL",
"title": "%title.bigDataCluster%",
"when": "connectionProvider == 'MSSQL' && mssql:iscluster",
"when": "connectionProvider == 'MSSQL' && mssql:iscluster && dashboardContext == 'server'",
"container": {
"grid-container": [
{