Add dashboard navigation to database when connected to a database (#21056)

This commit is contained in:
Cheena Malhotra
2022-11-01 10:57:11 -07:00
committed by GitHub
parent d9fb09912f
commit a967e90d4c

View File

@@ -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 {