mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 09:35:40 -05:00
Added Refresh Assessment Button in Azure SQL Target Page (#16706)
* Added Refresh Assessment Button in Azure SQL Target Wizard * UI updated * changes done
This commit is contained in:
@@ -86,6 +86,16 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
|
||||
this._detailsComponent = this.createDetailsComponent(view); // The details of what can be moved
|
||||
|
||||
const refreshAssessmentButton = this._view.modelBuilder.button().withProps({
|
||||
iconPath: IconPathHelper.refresh,
|
||||
label: constants.REFRESH_ASSESSMENT_BUTTON_LABEL,
|
||||
width: 130
|
||||
}).component();
|
||||
|
||||
this._disposables.push(refreshAssessmentButton.onDidClick(() => {
|
||||
this.constructDetails();
|
||||
}));
|
||||
|
||||
const chooseYourTargetText = this._view.modelBuilder.text().withProps({
|
||||
value: constants.SKU_RECOMMENDATION_CHOOSE_A_TARGET,
|
||||
CSSStyles: {
|
||||
@@ -101,6 +111,7 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
[
|
||||
igContainer,
|
||||
this._detailsComponent,
|
||||
refreshAssessmentButton,
|
||||
chooseYourTargetText
|
||||
]
|
||||
).component();
|
||||
|
||||
Reference in New Issue
Block a user