mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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": [
|
"objectExplorer/item/context": [
|
||||||
{
|
{
|
||||||
"command": "flatFileImport.start",
|
"command": "flatFileImport.start",
|
||||||
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
|
"when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && mssql:engineedition != 11",
|
||||||
"group": "import"
|
"group": "import"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dataExplorer/context": [
|
"dataExplorer/context": [
|
||||||
{
|
{
|
||||||
"command": "flatFileImport.start",
|
"command": "flatFileImport.start",
|
||||||
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
|
"when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && mssql:engineedition != 11",
|
||||||
"group": "import"
|
"group": "import"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user