mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -05:00
Fix broken 'Create new' DMS dialog (#20507)
* Fix broken 'Create new' DMS dialog * Update string
This commit is contained in:
@@ -227,7 +227,9 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
|
||||
const dialog = new CreateSqlMigrationServiceDialog();
|
||||
const createdDmsResult = await dialog.createNewDms(
|
||||
this.migrationStateModel,
|
||||
(<azdata.CategoryValue>this._resourceGroupDropdown.value).displayName);
|
||||
this._resourceGroupDropdown.value
|
||||
? (<azdata.CategoryValue>this._resourceGroupDropdown.value).displayName
|
||||
: '');
|
||||
|
||||
this.migrationStateModel._sqlMigrationServiceResourceGroup = createdDmsResult.resourceGroup;
|
||||
this.migrationStateModel._sqlMigrationService = createdDmsResult.service;
|
||||
|
||||
@@ -111,8 +111,7 @@ export class SummaryPage extends MigrationWizardPage {
|
||||
: (isSqlMiTarget)
|
||||
? constants.SUMMARY_MI_TYPE
|
||||
: constants.SUMMARY_SQLDB_TYPE,
|
||||
await this.migrationStateModel.getLocationDisplayName(
|
||||
this.migrationStateModel._targetServerInstance.name!)),
|
||||
this.migrationStateModel._targetServerInstance.name),
|
||||
await createHeadingTextComponent(
|
||||
this._view,
|
||||
constants.DATABASE_BACKUP_MIGRATION_MODE_LABEL),
|
||||
|
||||
Reference in New Issue
Block a user