mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Update Schema Compare dialog to start a new connection (#15193)
* Update SC dialog to start a new connection * Functionally complete * Fix target db to pick correct database * Address comments * Added test+fixed one missing scenario * Address comments + add one more test
This commit is contained in:
@@ -899,7 +899,7 @@ export class SchemaCompareMainWindow {
|
||||
|
||||
this.selectSourceButton.onDidClick(async () => {
|
||||
TelemetryReporter.sendActionEvent(TelemetryViews.SchemaCompareMainWindow, 'SchemaCompareSelectSource');
|
||||
this.schemaCompareDialog = new SchemaCompareDialog(this);
|
||||
this.schemaCompareDialog = new SchemaCompareDialog(this, undefined, this.extensionContext);
|
||||
this.promise = this.schemaCompareDialog.openDialog();
|
||||
await this.promise;
|
||||
});
|
||||
@@ -913,7 +913,7 @@ export class SchemaCompareMainWindow {
|
||||
|
||||
this.selectTargetButton.onDidClick(async () => {
|
||||
TelemetryReporter.sendActionEvent(TelemetryViews.SchemaCompareMainWindow, 'SchemaCompareSelectTarget');
|
||||
this.schemaCompareDialog = new SchemaCompareDialog(this);
|
||||
this.schemaCompareDialog = new SchemaCompareDialog(this, undefined, this.extensionContext);
|
||||
this.promise = await this.schemaCompareDialog.openDialog();
|
||||
await this.promise;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user