fix refresh node and add sample (#16888)

This commit is contained in:
Alan Ren
2021-08-25 14:52:45 -07:00
committed by GitHub
parent fe1f8fb2f3
commit ab1112bfb3
4 changed files with 58 additions and 29 deletions

View File

@@ -44,6 +44,10 @@
{
"command": "sqlservices.openModelViewDashboard",
"title": "sqlservices.openModelViewDashboard"
},
{
"command": "sqlservices.updateObjectExplorerNode",
"title": "sqlservices.updateObjectExplorerNode"
}
],
"dashboard.tabs": [
@@ -193,8 +197,8 @@
"menus": {
"objectExplorer/item/context": [
{
"command": "sqlservices.openDialog",
"when": "nodeType =~ /^(Database|Server)$/ && connectionProvider == TESTPROVIDER"
"command": "sqlservices.updateObjectExplorerNode",
"when": "connectionProvider == TESTPROVIDER"
}
]
}