Fixing the disabled next button on migration wizard (#15226)

* Fixing the next button disabled on wizard

* vbump extension
This commit is contained in:
Aasim Khan
2021-04-23 17:05:23 -07:00
committed by GitHub
parent 222d8e12f4
commit 463ea0b46b
4 changed files with 23 additions and 34 deletions

View File

@@ -49,7 +49,7 @@ export class AccountsSelectionPage extends MigrationWizardPage {
})
.withValidation((c) => {
if (c.value) {
if ((<azdata.CategoryValue>c.value).displayName === constants.ACCOUNT_SELECTION_PAGE_NO_LINKED_ACCOUNTS_ERROR) {
if ((<azdata.CategoryValue>c.value)?.displayName === constants.ACCOUNT_SELECTION_PAGE_NO_LINKED_ACCOUNTS_ERROR) {
this.wizard.message = {
text: constants.ACCOUNT_SELECTION_PAGE_NO_LINKED_ACCOUNTS_ERROR,
level: azdata.window.MessageLevel.Error