RED-6240 - removed hardcoded color

This commit is contained in:
Valentin Mihai 2023-04-03 16:32:16 +03:00
parent f6eba7be11
commit f00f772d39

View File

@ -166,7 +166,7 @@ export class AnnotationDrawService {
annotationWrapper.isSuggestion && this._userPreferenceService.getDisplaySuggestionsInPreview() annotationWrapper.isSuggestion && this._userPreferenceService.getDisplaySuggestionsInPreview()
? this._defaultColorsService.getColor(dossierTemplateId, 'requestAddColor') ? this._defaultColorsService.getColor(dossierTemplateId, 'requestAddColor')
: this._defaultColorsService.getColor(dossierTemplateId, 'previewColor'); : this._defaultColorsService.getColor(dossierTemplateId, 'previewColor');
annotation.setCustomData('redactionColor', '#0000BB'); annotation.setCustomData('redactionColor', String(redactionColor));
annotation.setCustomData('annotationColor', String(annotationWrapper.color)); annotation.setCustomData('annotationColor', String(annotationWrapper.color));
return annotation; return annotation;