mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 03:28:33 -05:00
Small bug fix + version bump to 1.6.0 (#20595)
* Removed Node Configuration text * Bump to 1.6.0 Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -295,7 +295,6 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
|
||||
}
|
||||
|
||||
return [
|
||||
this.createCoresMemorySection(loc.configuration),
|
||||
this.createConfigurationSectionContainer(loc.coresRequest, this.coresRequestBox),
|
||||
this.createConfigurationSectionContainer(loc.coresLimit, this.coresLimitBox),
|
||||
this.createConfigurationSectionContainer(loc.memoryRequest, this.memoryRequestBox),
|
||||
@@ -350,30 +349,6 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
|
||||
|
||||
}
|
||||
|
||||
private createCoresMemorySection(title: string): azdata.DivContainer {
|
||||
const titleFlex = { flex: `0 1 250px` };
|
||||
|
||||
const flexContainer = this.modelView.modelBuilder.flexContainer().withLayout({
|
||||
flexWrap: 'wrap',
|
||||
alignItems: 'center'
|
||||
}).component();
|
||||
|
||||
const titleComponent = this.modelView.modelBuilder.text().withProps({
|
||||
value: title,
|
||||
CSSStyles: { ...cssStyles.title, 'font-weight': 'bold', 'margin-block-start': '0px', 'margin-block-end': '0px' }
|
||||
}).component();
|
||||
|
||||
const titleContainer = this.modelView.modelBuilder.flexContainer().withLayout({ alignItems: 'center' }).component();
|
||||
titleContainer.addItem(titleComponent, { CSSStyles: { 'margin-right': '0px', 'margin-bottom': '15px', 'margin-top': '15px' } });
|
||||
|
||||
flexContainer.addItem(titleContainer, titleFlex);
|
||||
|
||||
let configurationSection = this.modelView.modelBuilder.divContainer().component();
|
||||
configurationSection.addItem(flexContainer);
|
||||
|
||||
return configurationSection;
|
||||
}
|
||||
|
||||
private editCores(): void {
|
||||
let currentCPUSize = this._postgresModel.config?.spec?.scheduling?.default?.resources?.requests?.cpu;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user