mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Add dashboard navigation to database when connected to a database (#21056)
This commit is contained in:
@@ -45,6 +45,9 @@ export class DashboardComponent extends AngularDisposable implements OnInit {
|
||||
// Route to the server page as this is the default database
|
||||
this._router.navigate(['server-dashboard'], { relativeTo: this._activeRoute, skipLocationChange: true }).catch(onUnexpectedError);
|
||||
}
|
||||
else {
|
||||
this._router.navigate(['database-dashboard'], { relativeTo: this._activeRoute, skipLocationChange: true }).catch(onUnexpectedError);
|
||||
}
|
||||
}
|
||||
|
||||
private updateTheme(theme: IColorTheme): void {
|
||||
|
||||
Reference in New Issue
Block a user