mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 09:35:40 -05:00
Adding blob storage support (WIP) (#15477)
Bumping version Fixing cancel migration bug
This commit is contained in:
@@ -538,7 +538,11 @@ export class MigrationCutoverDialog {
|
||||
});
|
||||
|
||||
if (migrationStatusTextValue === MigrationStatus.InProgress) {
|
||||
this._cutoverButton.enabled = tableData.length > 0;
|
||||
const restoredCount = (this._model.migrationStatus.properties.migrationStatusDetails?.activeBackupSets.filter(a => a.listOfBackupFiles[0].status === 'Restored'))?.length!;
|
||||
if (restoredCount > 0) {
|
||||
this._cutoverButton.enabled = true;
|
||||
}
|
||||
this._cancelButton.enabled = true;
|
||||
} else {
|
||||
this._cutoverButton.enabled = false;
|
||||
this._cancelButton.enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user