mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Replace vCores property with state for arc controller dashboard (#12512)
This commit is contained in:
@@ -93,7 +93,7 @@ export class ControllerDashboardOverviewPage extends DashboardPage {
|
|||||||
headerCssStyles: cssStyles.tableHeader,
|
headerCssStyles: cssStyles.tableHeader,
|
||||||
rowCssStyles: cssStyles.tableRow
|
rowCssStyles: cssStyles.tableRow
|
||||||
}, {
|
}, {
|
||||||
displayName: loc.compute,
|
displayName: loc.state,
|
||||||
valueType: azdata.DeclarativeDataType.string,
|
valueType: azdata.DeclarativeDataType.string,
|
||||||
width: '34%',
|
width: '34%',
|
||||||
isReadOnly: true,
|
isReadOnly: true,
|
||||||
@@ -230,8 +230,7 @@ export class ControllerDashboardOverviewPage extends DashboardPage {
|
|||||||
await this._controllerModel.treeDataProvider.openResourceDashboard(this._controllerModel, r.instanceType || '', r.instanceName);
|
await this._controllerModel.treeDataProvider.openResourceDashboard(this._controllerModel, r.instanceType || '', r.instanceName);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// TODO chgagnon
|
return [imageComponent, nameComponent, resourceTypeToDisplayName(r.instanceType), r.state];
|
||||||
return [imageComponent, nameComponent, resourceTypeToDisplayName(r.instanceType), '-'/* loc.numVCores(r.vCores) */];
|
|
||||||
});
|
});
|
||||||
this._arcResourcesLoadingComponent.loading = !this._controllerModel.registrationsLastUpdated;
|
this._arcResourcesLoadingComponent.loading = !this._controllerModel.registrationsLastUpdated;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user