mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 01:25:38 -05:00
Adding context menu item on server level for import wizard (#16700)
* Adding context menu item on server level for import wizard * Changing to regex instead of using duplicate oe commands
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user