diff --git a/extensions/import/package.json b/extensions/import/package.json index 0892eb400d..b5088380c6 100644 --- a/extensions/import/package.json +++ b/extensions/import/package.json @@ -46,14 +46,14 @@ "objectExplorer/item/context": [ { "command": "flatFileImport.start", - "when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11", + "when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && mssql:engineedition != 11", "group": "import" } ], "dataExplorer/context": [ { "command": "flatFileImport.start", - "when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11", + "when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && mssql:engineedition != 11", "group": "import" } ]