add error banner for failed migration cutover and cancel migration (#17106)

This commit is contained in:
brian-harris
2021-09-21 23:31:36 -07:00
committed by GitHub
parent 4a715e473a
commit 155ea4c707
26 changed files with 250 additions and 224 deletions

View File

@@ -288,8 +288,8 @@ export class DatabaseSelectorPage extends MigrationWizardPage {
).component();
await this._databaseSelectorTable.setDataValues(this._databaseTableValues);
this._disposables.push(this._databaseSelectorTable.onDataChanged(() => {
this._dbCount.updateProperties({
this._disposables.push(this._databaseSelectorTable.onDataChanged(async () => {
await this._dbCount.updateProperties({
'value': constants.DATABASES_SELECTED(this.selectedDbs().length, this._databaseTableValues.length)
});
}));