Refactor BDC dashboard to use ModelView Dashboard (#10327)

* WIP refactor

* More changes

* More changes

* Remove unused styles

* Uncomment code
This commit is contained in:
Charles Gagnon
2020-05-11 09:21:03 -07:00
committed by GitHub
parent 3d2d791f18
commit 567c1be9fb
13 changed files with 238 additions and 429 deletions

View File

@@ -21,8 +21,8 @@ export class BdcDashboardResourceStatusPage extends BdcDashboardPage {
private metricsAndLogsRowsTable: azdata.DeclarativeTableComponent;
private lastUpdatedLabel: azdata.TextComponent;
constructor(private model: BdcDashboardModel, private modelView: azdata.ModelView, private serviceName: string, private resourceName: string) {
super();
constructor(model: BdcDashboardModel, modelView: azdata.ModelView, serviceName: string, private resourceName: string) {
super(model, modelView, serviceName);
this.model.onDidUpdateBdcStatus(bdcStatus => this.eventuallyRunOnInitialized(() => this.handleBdcStatusUpdate(bdcStatus)));
}