File tree 1 file changed +6
-6
lines changed
extensions/sql-migration/src/wizard/assessmentDetailsPage
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -243,9 +243,9 @@ export class AssessmentDetailsHeader {
243
243
// this value is populated to handle the case when user selects a target type and want to resume later.
244
244
this . _targetSelectionDropdown . value = this . getTargetTypeBasedOnModel ( migrationStateModel . _targetType ) ;
245
245
246
- await this . _viewDetailsLink . updateCssStyles ( { 'display' : 'none' } ) ;
247
- await this . _generateTemplateLink . updateCssStyles ( { 'display' : 'none' } ) ;
248
- await this . _separator . updateCssStyles ( { 'display' : 'none' } ) ;
246
+ await this . _viewDetailsLink ? .updateCssStyles ( { 'display' : 'none' } ) ;
247
+ await this . _generateTemplateLink ? .updateCssStyles ( { 'display' : 'none' } ) ;
248
+ await this . _separator ? .updateCssStyles ( { 'display' : 'none' } ) ;
249
249
250
250
251
251
@@ -276,9 +276,9 @@ export class AssessmentDetailsHeader {
276
276
this . _valueContainers [ 0 ] . value = configurationValue ;
277
277
278
278
if ( configurationValue !== "--" ) {
279
- await this . _viewDetailsLink . updateCssStyles ( { 'display' : 'block' } ) ;
280
- await this . _generateTemplateLink . updateCssStyles ( { 'display' : 'block' } ) ;
281
- await this . _separator . updateCssStyles ( { 'display' : 'block' } ) ;
279
+ await this . _viewDetailsLink ? .updateCssStyles ( { 'display' : 'block' } ) ;
280
+ await this . _generateTemplateLink ? .updateCssStyles ( { 'display' : 'block' } ) ;
281
+ await this . _separator ? .updateCssStyles ( { 'display' : 'block' } ) ;
282
282
}
283
283
284
284
await this . _azureRecommendationLoadingText . updateCssStyles ( { 'display' : 'none' } ) ;
You can’t perform that action at this time.
0 commit comments