converting toast to modal dialog to grab focus (#16237)

This commit is contained in:
Aasim Khan
2021-07-16 16:29:32 -07:00
committed by GitHub
parent d88c49702a
commit acea03ea61

View File

@@ -388,7 +388,7 @@ export class MigrationCutoverDialog {
}).component();
this._cancelButton.onDidClick((e) => {
vscode.window.showInformationMessage(loc.CANCEL_MIGRATION_CONFIRMATION, loc.YES, loc.NO).then(async (v) => {
vscode.window.showInformationMessage(loc.CANCEL_MIGRATION_CONFIRMATION, { modal: true }, loc.YES, loc.NO).then(async (v) => {
if (v === loc.YES) {
await this._model.cancelMigration();
await this.refreshStatus();