add delete migration method in migration list and details pages (#22243)

* add delete migraiton, fix stale token detection

* address pr comments, fix api error response format
This commit is contained in:
brian-harris
2023-03-09 13:52:48 -08:00
committed by GitHub
parent 12a5bd0ef2
commit 39f90afe6c
16 changed files with 229 additions and 77 deletions

View File

@@ -85,9 +85,12 @@ export class MigrationsTab extends TabBase<MigrationsTab> {
this.statusBar);
this.disposables.push(this._migrationsListTab);
const openMigrationsListTab = async (): Promise<void> => {
const openMigrationsListTab = async (refresh?: boolean): Promise<void> => {
await this.statusBar.clearError();
await this._openTab(this._migrationsListTab);
if (refresh) {
await this._migrationsListTab.refresh();
}
};
this._migrationDetailsBlobTab = await new MigrationDetailsBlobContainerTab().create(