mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fixing errors in existing migration pages (#13977)
* - Adding null checks for onValueChanged - Adding new event for radiobuttons onDIdChangeCheckedState * changing the null checks in checkbox
This commit is contained in:
@@ -42,7 +42,10 @@ export class AccountsSelectionPage extends MigrationWizardPage {
|
||||
}).component();
|
||||
|
||||
this._azureAccountsDropdown.onValueChanged(async (value) => {
|
||||
this.migrationStateModel.azureAccount = this._accountsMap.get((this._azureAccountsDropdown.value as azdata.CategoryValue).name)!;
|
||||
if (this._azureAccountsDropdown.value) {
|
||||
const selectedAccount = (this._azureAccountsDropdown.value as azdata.CategoryValue).name;
|
||||
this.migrationStateModel.azureAccount = this._accountsMap.get(selectedAccount)!;
|
||||
}
|
||||
});
|
||||
|
||||
const addAccountButton = view.modelBuilder.button()
|
||||
|
||||
Reference in New Issue
Block a user