mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Add "Import New Database Project" to dashboard toolbar (#11229)
* add import database project to database and server dashboard home toolbar * connection profile is getting passed to the extension * use MenuItemAction instead of creating a new one * move database picking * add comment * add helper function
This commit is contained in:
@@ -118,7 +118,11 @@
|
||||
{
|
||||
"command": "sqlDatabaseProjects.importDatabase",
|
||||
"title": "%sqlDatabaseProjects.importDatabase%",
|
||||
"category": "%sqlDatabaseProjects.displayName%"
|
||||
"category": "%sqlDatabaseProjects.displayName%",
|
||||
"icon": {
|
||||
"dark": "images/extension.png",
|
||||
"light": "images/extension.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "sqlDatabaseProjects.addDatabaseReference",
|
||||
@@ -277,6 +281,12 @@
|
||||
"when": "connectionProvider == MSSQL && nodeType && nodeType == Database && mssql:engineedition != 11",
|
||||
"group": "export"
|
||||
}
|
||||
],
|
||||
"dashboard/toolbar": [
|
||||
{
|
||||
"command": "sqlDatabaseProjects.importDatabase",
|
||||
"when": "connectionProvider == 'MSSQL' && mssql:engineedition != 11"
|
||||
}
|
||||
]
|
||||
},
|
||||
"views": {
|
||||
|
||||
Reference in New Issue
Block a user