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

@@ -87,6 +87,10 @@ export default class MainController implements vscode.Disposable {
dashboard.openModelViewDashboard(this.context);
});
vscode.commands.registerCommand('sqlservices.updateObjectExplorerNode', async (context: azdata.ObjectExplorerContext) => {
await objectExplorer.updateNode(context);
});
return Promise.resolve(true);
}