mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 17:23:56 -05:00
Add dashboard context (database vs server) to scoped context (#893)
* explicitly add dashboard context to scoped context * formatting
This commit is contained in:
@@ -95,6 +95,7 @@ export abstract class DashboardPage extends AngularDisposable {
|
||||
}
|
||||
|
||||
protected init() {
|
||||
this.dashboardService.dashboardContextKey.set(this.context);
|
||||
if (!this.dashboardService.connectionManagementService.connectionInfo) {
|
||||
this.dashboardService.messageService.show(Severity.Warning, nls.localize('missingConnectionInfo', 'No connection information could be found for this dashboard'));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user