remove preview from sql db target references (#20690)

* remove preview from sql db target references

* update "Azure recommendations" label

* handle missing target tables
This commit is contained in:
brian-harris
2022-10-03 18:39:43 -07:00
committed by GitHub
parent 3df9985aff
commit 66bb40c627
5 changed files with 72 additions and 73 deletions

View File

@@ -95,6 +95,10 @@ export class TargetSelectionPage extends MigrationWizardPage {
this._azureResourceDropdownLabel.value = constants.AZURE_SQL_DATABASE;
this._azureResourceDropdown.ariaLabel = constants.AZURE_SQL_DATABASE;
this._updateConnectionButtonState();
if (this.migrationStateModel._didUpdateDatabasesForMigration) {
await this._resetTargetMapping();
this.migrationStateModel._didUpdateDatabasesForMigration = false;
}
break;
}
@@ -940,6 +944,7 @@ export class TargetSelectionPage extends MigrationWizardPage {
this.migrationStateModel._sourceTargetMapping.set(
sourceDatabase,
targetDatabaseInfo);
this.migrationStateModel.refreshDatabaseBackupPage = true;
this.migrationStateModel._didDatabaseMappingChange = true;
}));