mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix MIAA connection strings page not populating (#14763)
This commit is contained in:
@@ -8,7 +8,6 @@ import * as loc from '../../../localizedConstants';
|
|||||||
import { IconPathHelper, cssStyles } from '../../../constants';
|
import { IconPathHelper, cssStyles } from '../../../constants';
|
||||||
import { KeyValueContainer, KeyValue, InputKeyValue, MultilineInputKeyValue } from '../../components/keyValueContainer';
|
import { KeyValueContainer, KeyValue, InputKeyValue, MultilineInputKeyValue } from '../../components/keyValueContainer';
|
||||||
import { DashboardPage } from '../../components/dashboardPage';
|
import { DashboardPage } from '../../components/dashboardPage';
|
||||||
import { ControllerModel } from '../../../models/controllerModel';
|
|
||||||
import { MiaaModel } from '../../../models/miaaModel';
|
import { MiaaModel } from '../../../models/miaaModel';
|
||||||
import { parseIpAndPort } from '../../../common/utils';
|
import { parseIpAndPort } from '../../../common/utils';
|
||||||
|
|
||||||
@@ -17,9 +16,9 @@ export class MiaaConnectionStringsPage extends DashboardPage {
|
|||||||
private _keyValueContainer!: KeyValueContainer;
|
private _keyValueContainer!: KeyValueContainer;
|
||||||
private _connectionStringsMessage!: azdata.TextComponent;
|
private _connectionStringsMessage!: azdata.TextComponent;
|
||||||
|
|
||||||
constructor(modelView: azdata.ModelView, private _controllerModel: ControllerModel, private _miaaModel: MiaaModel) {
|
constructor(modelView: azdata.ModelView, private _miaaModel: MiaaModel) {
|
||||||
super(modelView);
|
super(modelView);
|
||||||
this.disposables.push(this._controllerModel.onRegistrationsUpdated(_ =>
|
this.disposables.push(this._miaaModel.onConfigUpdated(_ =>
|
||||||
this.eventuallyRunOnInitialized(() => this.updateConnectionStrings())));
|
this.eventuallyRunOnInitialized(() => this.updateConnectionStrings())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export class MiaaDashboard extends Dashboard {
|
|||||||
|
|
||||||
protected async registerTabs(modelView: azdata.ModelView): Promise<(azdata.DashboardTab | azdata.DashboardTabGroup)[]> {
|
protected async registerTabs(modelView: azdata.ModelView): Promise<(azdata.DashboardTab | azdata.DashboardTabGroup)[]> {
|
||||||
const overviewPage = new MiaaDashboardOverviewPage(modelView, this._controllerModel, this._miaaModel);
|
const overviewPage = new MiaaDashboardOverviewPage(modelView, this._controllerModel, this._miaaModel);
|
||||||
const connectionStringsPage = new MiaaConnectionStringsPage(modelView, this._controllerModel, this._miaaModel);
|
const connectionStringsPage = new MiaaConnectionStringsPage(modelView, this._miaaModel);
|
||||||
const computeAndStoragePage = new MiaaComputeAndStoragePage(modelView, this._miaaModel);
|
const computeAndStoragePage = new MiaaComputeAndStoragePage(modelView, this._miaaModel);
|
||||||
return [
|
return [
|
||||||
overviewPage.tab,
|
overviewPage.tab,
|
||||||
|
|||||||
Reference in New Issue
Block a user