SQL-Migration: improve SQL DB table selection ux to include missing tables (#22659)

* add missing target tables ux

* fix number formatting
This commit is contained in:
brian-harris
2023-04-07 16:00:12 -07:00
committed by GitHub
parent 0412ba194b
commit a60d6107b4
7 changed files with 213 additions and 85 deletions

View File

@@ -401,7 +401,11 @@ export class CreateSqlMigrationServiceDialog {
constants.RESOURCE_GROUP_NOT_FOUND);
const selectedResourceGroupValue = this.migrationServiceResourceGroupDropdown.values.find(v => v.name.toLowerCase() === this._resourceGroupPreset.toLowerCase());
this.migrationServiceResourceGroupDropdown.value = (selectedResourceGroupValue) ? selectedResourceGroupValue : this.migrationServiceResourceGroupDropdown.values[0];
this.migrationServiceResourceGroupDropdown.value = (selectedResourceGroupValue)
? selectedResourceGroupValue
: this.migrationServiceResourceGroupDropdown.values?.length > 0
? this.migrationServiceResourceGroupDropdown.values[0]
: '';
} finally {
this.migrationServiceResourceGroupDropdown.loading = false;
}