Dev/brih/hotfix status page (#16407)

* add dispose pattern, fix migration status enum

* format strings

* add dispose handler to more events
This commit is contained in:
brian-harris
2021-07-22 22:20:10 -07:00
committed by GitHub
parent 107023c7d0
commit df5ed2c889
22 changed files with 351 additions and 249 deletions

View File

@@ -36,7 +36,7 @@ class SQLMigration {
input.items = NotebookPathHelper.getAllMigrationNotebooks();
input.onDidAccept(async (e) => {
this.context.subscriptions.push(input.onDidAccept(async (e) => {
const selectedNotebook = input.selectedItems[0];
if (selectedNotebook) {
try {
@@ -50,7 +50,7 @@ class SQLMigration {
}
input.hide();
}
});
}));
input.show();
}),