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:
stuti149
2021-08-13 11:02:32 +05:30
committed by GitHub
parent c68acfde82
commit 4ea5b62217
2 changed files with 12 additions and 0 deletions

View File

@@ -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();