mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
set initial target db name (#17801)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "sql-migration",
|
||||
"displayName": "%displayName%",
|
||||
"description": "%description%",
|
||||
"version": "0.1.10",
|
||||
"version": "0.1.11",
|
||||
"publisher": "Microsoft",
|
||||
"preview": true,
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
|
||||
@@ -216,10 +216,10 @@ export class SqlMigrationServiceDetailsDialog {
|
||||
}
|
||||
|
||||
private async _updateTableCell(table: azdata.DeclarativeTableComponent, row: number, col: number, value: string, keyName: string): Promise<void> {
|
||||
const dataValues = table.dataValues;
|
||||
const dataValues = table.dataValues!;
|
||||
dataValues![row][col].value = value;
|
||||
table.dataValues = [];
|
||||
table.dataValues = dataValues;
|
||||
await table.setDataValues([]);
|
||||
await table.setDataValues(dataValues);
|
||||
await vscode.window.showInformationMessage(constants.AUTH_KEY_REFRESHED(keyName));
|
||||
}
|
||||
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -504,7 +504,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
|
||||
]
|
||||
];
|
||||
|
||||
this._authKeyTable.dataValues = data;
|
||||
await this._authKeyTable.setDataValues(data);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
|
||||
Reference in New Issue
Block a user