Enable offline migration mode on sql migration extension (#16459)

This commit is contained in:
Rachel Kim
2021-07-30 23:15:09 -07:00
committed by GitHub
parent 2427cbe3c6
commit b3e9428898
17 changed files with 614 additions and 355 deletions

View File

@@ -202,7 +202,7 @@ export class AccountsSelectionPage extends MigrationWizardPage {
selectDropDownIndex(this._azureAccountsDropdown, 0);
}
public async onPageEnter(): Promise<void> {
public async onPageEnter(pageChangeInfo: azdata.window.WizardPageChangeInfo): Promise<void> {
this.wizard.registerNavigationValidator(async pageChangeInfo => {
try {
if (!this.migrationStateModel._azureAccount?.isStale) {
@@ -221,7 +221,7 @@ export class AccountsSelectionPage extends MigrationWizardPage {
});
}
public async onPageLeave(): Promise<void> {
public async onPageLeave(pageChangeInfo: azdata.window.WizardPageChangeInfo): Promise<void> {
}
protected async handleStateChange(e: StateChangeEvent): Promise<void> {