mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-12 02:58:31 -05:00
Fix Arc Postgres refresh (#11074)
This commit is contained in:
@@ -23,8 +23,10 @@ export class PostgresDashboard extends Dashboard {
|
||||
|
||||
public async showDashboard(): Promise<void> {
|
||||
await super.showDashboard();
|
||||
|
||||
// Kick off the model refresh but don't wait on it since that's all handled with callbacks anyways
|
||||
this._postgresModel.refresh().catch(err => console.log(`Error refreshing Postgres dashboard ${err}`));
|
||||
this._controllerModel.refresh().catch(err => console.log(`Error refreshing controller model for Postgres dashboard ${err}`));
|
||||
this._postgresModel.refresh().catch(err => console.log(`Error refreshing Postgres model for Postgres dashboard ${err}`));
|
||||
}
|
||||
|
||||
protected async registerTabs(modelView: azdata.ModelView): Promise<(azdata.DashboardTab | azdata.DashboardTabGroup)[]> {
|
||||
|
||||
Reference in New Issue
Block a user