mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 18:22:34 -05:00
set initial target db name (#17801)
This commit is contained in:
@@ -821,7 +821,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
this.migrationStateModel._targetDatabaseNames = [];
|
||||
this.migrationStateModel._databaseBackup.blobs = [];
|
||||
this.migrationStateModel._migrationDbs.forEach((db, index) => {
|
||||
this.migrationStateModel._targetDatabaseNames.push('');
|
||||
this.migrationStateModel._targetDatabaseNames.push(db);
|
||||
this.migrationStateModel._databaseBackup.blobs.push(<Blob>{});
|
||||
const targetDatabaseInput = this._view.modelBuilder.inputBox().withProps({
|
||||
required: true,
|
||||
@@ -973,7 +973,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
});
|
||||
data.push(targetRow);
|
||||
});
|
||||
this._networkShareTargetDatabaseNamesTable.dataValues = data;
|
||||
await this._networkShareTargetDatabaseNamesTable.setDataValues(data);
|
||||
|
||||
data = [];
|
||||
this.migrationStateModel._migrationDbs.forEach((db, index) => {
|
||||
|
||||
Reference in New Issue
Block a user