Fix compilation error with Notification Error Dialog (#21054)

Make openerService optional
This commit is contained in:
Cheena Malhotra
2022-11-01 10:30:09 -07:00
committed by GitHub
parent f5a3a9ad8c
commit d9fb09912f

View File

@@ -56,7 +56,7 @@ export class ErrorMessageDialog extends Modal {
@IContextKeyService contextKeyService: IContextKeyService,
@ILogService logService: ILogService,
@ITextResourcePropertiesService textResourcePropertiesService: ITextResourcePropertiesService,
@IOpenerService private readonly _openerService: IOpenerService
@IOpenerService private readonly _openerService?: IOpenerService
) {
super('', TelemetryKeys.ModalDialogName.ErrorMessage, telemetryService, layoutService, clipboardService, themeService, logService, textResourcePropertiesService, contextKeyService, { dialogStyle: 'normal', hasTitleIcon: true });
this._okLabel = localize('errorMessageDialog.ok', "OK");