mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 19:48:37 -05:00
target database mapping and selection bug (#20840)
* target database mapping and selection bug * bump version to 1.1.0 for sql db release
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "sql-migration",
|
||||
"displayName": "%displayName%",
|
||||
"description": "%description%",
|
||||
"version": "1.0.6",
|
||||
"version": "1.1.0",
|
||||
"publisher": "Microsoft",
|
||||
"preview": false,
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
|
||||
@@ -777,7 +777,9 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
const dbIndex = this.migrationStateModel._sourceDatabaseNames?.indexOf(sourceDatabaseName);
|
||||
if (dbIndex > -1) {
|
||||
targetDatabaseName = originalTargetDatabaseNames[dbIndex] ?? targetDatabaseName;
|
||||
targetDatabaseName = isSqlDbTarget
|
||||
? targetDatabaseName
|
||||
: originalTargetDatabaseNames[dbIndex] ?? targetDatabaseName;
|
||||
networkShare = originalNetworkShares[dbIndex] ?? networkShare;
|
||||
blob = originalBlobs[dbIndex] ?? blob;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user